3. Instruction Set
Registers for received data (responding messages)
Data address
Data content
Program Example 2:
Communication between PLC and VFD-B series AC motor drives (RTU Mode, M1143 = ON)
MOV D1120
H87
M1002
SET M1120
Set communication protocol as 9600, 8, E, 1
Retain communication protocol
Set receiving timeout as 100ms
Sending request
X1
M1127
RST M1127
Receiving
completed
Process of receiving data
Reset M1127
The receiving data is stored in
D1070~D1085 in Hex.
Set as RTU mode
X0
Set communication instruction:
Data address: H2000
Write in data H12
Device address: 01
MOV D1129
K100
SET
M1143
SET M1122
MODWR H2000K1 H12
PLC → VFD-B, PLC transmits: 01 06 2000 0012 02 07
VFD-B → PLC, PLC receives: 01 06 2000 0012 02 07