DVP-ES2/EX2/EC5/SS2/SA2/SX2/SE&TP Operation Manual - Programming
RTU mode (COM3: M1320 = ON, COM1: M1139 = ON):
When X0 = ON, MODRW instruction executes the function specified by Function Code 02
PLC1 PLC2, PLC1 sends: “01 02 0500 0010 79 0A”
PLC2 PLC1, PLC1 receives: “01 02 02 34 12 2F 75”
PLC data receiving register:
D0 1234 H
PLC converts the data in address 0500H ~ 0515H and stores the
converted data automatically.
Analysis of the read status of PLC2 Y0~Y17: 1234H
5. Relative flags and data registers when COM1 / COM2 / COM3 works as Master:
COM.
setting
Retain communication setting
PLC communication address
Set value for data receiving timeout (ms)
M1127 M1314 M1318 Data receiving completed
Errors
M1141 - -
Parameter error. Exception Code is stored in
D1130
D1130 - -
Error code (Exception code) returning from
Modbus communication