Delta DVP-ES2 User Manual
Page 390
D V P - E S 2 / E X 2 / S S 2 / S A2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g
3-274
Program Example 1:
Communication between PLC and VFD-B series AC motor drives (ASCII Mode, M1143 = OFF)
MOV
D1120
H87
M1002
SET
M1120
M1127
RST
M1127
Receiving
completed
Set communication protocol as 9600, 8, E, 1
Retain communication protocol
Set receiving timeout as 100ms
Processing received data
Reset M1127
Sending request
X1
X0
Set communication instruction:
Data address: H0100
Data: H1770
Device address: 01
The received data is stored in
D1070~D1085 in ASCII format.
MOV
D1129
K100
SET
M1122
MODWR
H0100
K1
H1770
PLC
→ VFD-B, PLC transmits: “01 06 0100 1770 71 ”
VFD-B
→ PLC, PLC receives: “01 06 0100 1770 71 ”
Registers for data to be sent (sending messages)
Register
Data
Descriptions
D1089 low
‘0’
30 H
ADR 1
D1089 high
‘1’
31 H
ADR 0
Address of AC motor drive: ADR
(1,0)
D1090 low
‘0’
30 H
CMD 1
D1090 high
‘6’
36 H
CMD 0
Command code of AC motor
drive: CMD (1,0)
D1091 low
‘0’
30 H
D1091 high
‘1’
31 H
D1092 low
‘0’
30 H
D1092 high
‘0’
30 H
Data address
D1093 low
‘1’
31 H
D1093 high
‘7’
37 H
D1094 low
‘7’
37 H
D1094 high
‘0’
30 H
Data contents
D1095 low
‘7’
37 H
LRC CHK 1
D1095 high
‘1’
31 H
LRC CHK 0
Checksum: LRC CHK (0,1)