DVP-ES2/EX2/EC5/SS2/SA2/SX2/SE&TP Operation Manual - Programming
Program Example: COM2 (RS-485)
Communication between PLC and VFD-B series inverter (ASCII Mode, M1143 = OFF), Retry when
communication time-out occurs.
M1002
MOV H86 D1120
SET M1120
MOV
K100
D1129
RST
M1127
M1127
X0
FWD
K1 K500 K0
SET
M1122
M1129
X0
Retry when communication time-out occurs
Processing received data
Receiving completed
Communication instruction setting:
Device address: 1
Frequency: 500Hz
K0:normal forward
S e t u p
communication protocol as
9600, 7, E, 1
Retain communication protocol
Set up communication time-out: 100ms
Sending request
Reset M1127
PLC VFD, PLC sends: “:01 10 2000 0002 04 0012 01F4 C2 ”
VFD PLC, PLC sends: “:01 10 2000 0002 CD ”
Data to be sent (sending messages)
Address of AC motor drive: ADR (1,0)
Command code: CMD (1,0)
Data Address
Data content
Byte Count
Data content 1 H1: forward operation
Data content 2 Operation frequency = K500Hz H01F4
Error checksum: LRC CHK (0,1)