611
9
9 Communication 9.4.4 Programming Method for Communication Among Multiple PLCs Through Modbus Protocols
M8000
ǒMOV K2M10 D56Ǔ
M8000
ǒMODBUS H206 K100 K7 D50 Ǔ
ǒMODBUS H203 K110 K11 D60 Ǔ
ǒMOV D70 K4M100Ǔ
Write
operation
for slave 2
Head
address of
the slave
register
D100
Seven
consecutive
variables in
operation
Head
address of
data to be
sent
Read
operation
for slave 2
Head
address of
the slave
register
D110
Eleven
consecutive
variables in
operation
Head
address of
received
data
When conguring COM1 of PLC 2, select the Modbus-RTU slave station protocol, set the baud rate to 9600
bps, select the 8N2 format, and set the station number to 2. Refresh registers to be read by the master
station, and maintain the data written in the master station through communication.