Remote Io Control Application Of Modbus (Using Modbus) - Delta C2000 series User Manual

Classical field oriented control ac motor drive
Hide thumbs Also See for C2000 series:
Table of Contents

Advertisement

16-12 Remote IO Control Application of
MODBUS (using Modbus)
C2000 internal PLC supports reading and writing of 485, and it is realized by MODRW command. But
before programming, it is necessary to define the serial as PLC 485, which sets P09-31 = -12. After
setting, standard Function defined by 485 can be used to read or write command to other nodes.
Communication speed definition can be set in 09-01. Communication protocol can be set in P09-04, and
current PLC node definition can be set in P09-35. So far, the Functions supported by C2000 are:
Reading Coil (H1), Reading Input (0x02), Reading Register (0x03), Writing single Register (0x06), Writing
multiple Coil (0x0F) and writing multiple Register (0x10). Explantion as below:
MODRW Command
S1
S2
S3
Node Comm. Addr.
K3
H01
H500
K3
H02
H400
K3
H03
H600
K3
H06
H610
K3
H0F
H509
K3
H10
H602
※ XX means Disregard
When executing MODRW,the status will be shown in M1077 (485 reading and writing complete),
M1078(485 reading and writing error), and M1079 (485 reading and writing time out). The definition
of M1077 will be cleared as 0 when commanding MODRW. When feedback is complete, error, or
time out, M1099 will be set as On.
S4
S5
Cor.
Meaning
D
Length
register
Read Coil
D0
K18
(Bit)
Read Input
D10
K10
(Bit)
Read Register
D20
K3
(word)
Read single
D30
XX
Register (word)
Read multiple
D40
K10
Coil
(Bit)
Read multiple
D50
K4
Register (word)
Chapter 16 PLC Function C2000 Series
Slave is Delta PLC
Read slave 3 PLC 18 bits from Y0 ~
Y21, and save to master bit 0~ bit
15 of D0 and bit 0 ~ bit 3 of D1
Read slave 3 PLC 10 bits from X0 ~
X11, and save to master bit 0~ bit 9
of D10
Read slave 3 PLC 3 words of
T0~T2, and save to master D20 ~
D22
Write slave 3 PLC to T16 from
master D30
Write slave 3 PLC to Y11~Y12
frommaster bit 0~bit 9 of D40
Write slave 3 PLC to T2~T5 from
master D50~D53
16-139
Slave is Delta Motor Drive
Does not support this Function
Does not support this Function
Read slave 3 motor drive 3
words from 06-00~06-02, and
save to master D20 ~ D22
Write slave 3 motor drive to
06-16 from master D30
Does not support this Function
Write slave 3 motor drive to
06-02 ~ 06-05 from master
D50~D53

Advertisement

Table of Contents
loading

Table of Contents

Save PDF