Delta Electronics VFD037CH23A-21 — pLC Function Overview and Communication Commands Explained [521/638]

Превью страниц Страница 521 / 638
Delta Electronics VFD450CH23A-00/-21 [521/638] Before using this command set com1 to be controlled by plc set pr09 31
Chapter 16 PLC Function CH2000 Series
16-68
Explanation
S1: Addres of the connecting device. S2: Communication function code. S3:
Address to read data. S: Register to read and write data.
Before using this command, set COM1 to be controlled by PLC(Set Pr09-31 =
-12). Then set the corresponding comunication speed and format(Set Pr09-01
and Pr09-04). S2: Communication function code. This command only supports
the function codes in the table below.
Function Description
02 Input read
03 Read Word
06 Write a single Word.
0F Write multiple coil
10 Write a single word
Once the command is executed, M1077, M1078 and M1079 will become zero.
Here is an example of when C2000 wants to control another motor drive and a
PLC with station number 20.
To control a slave motor drive
MODRW COMMAND
S1 S2 S3 S4 n
No. Example
Station
#
Function
Code
Addr-
ess
Register
Leng
-th
1
Read Pr01-00 ~ Pr01-03, four data
and save the read data in D0 to D3.
K10 H3 H100 D0 K4
2
Read motor drive’s address from
H2100 ~ H2104, total 3 data and save
the read data in D5 ~ D7.
K10 H3 H2100 D5 K3
3
Write into Pr05-00 ~ Pr01-03, total 3
data, the value to write into are D10 ~
D2
K10 H10 H500 D10 K3
4
Write into motor drive’s address
H2000~H2104, total 2 data, the value
to write into are D15~D16.
K10 H10 H2000 D15 K2

Содержание

1610

Explore the essential PLC functions and communication commands for effective device control. Learn about addressing, function codes, and data management in PLC systems.