DVP-ES2/EX2/EC5/SS2/SA2/SX2/SE&TP Operation Manual - Programming
Program Example: COM2 (RS-485)
1. Communication between PLC and VFD-A series inverter. Retry for communication time-out and
data receiving error.
M1002
MOV H0073 D1120
SET M1120
MOV
K100
D1129
RST
M1127
M1127
X0
FWD
K0 K500 K1
SET
M1122
M1129
M1142
X0
Retry when receiving time-out occurs
Retry when data receiving error
Processing received data
Receiving completed
Communication instruction setting:
Device address: 0
Frequency: 500Hz
K1: communicate with the designated VFD
S e t u p
communication protocol as
4800, 8, O, 1
Retain communication protocol
S e t u p c o m m u n ic a tio n tim e -o u t: 1 0 0 m s
Sending request
Reset M1127
The re ceive d data is s tored in low byte
of D1070 ~ D1080 in ASCII format.
PLC VFD-A, PLC sends: “C ♥ 0001 0500 ”
VFD-A PLC, PLC receives: “C ♥ ♠ 0001 0500 ”
Registers for data to be sent (sending messages)
D1091 low ‘’ 01 H
Command acknowledgement
(communication mode)
Communication address
Operation command