Delta DVP-ES2 User Manual
Page 387
3 . I n s t r u c t i o n S e t
3 - 2 7 1
Program Example 2:
Communication between PLC and VFD-B series AC motor drive (RTU Mode, M1143= ON)
MOV
D1120
H87
M1002
SET
M1120
MOV
D1129
K100
M1127
Receiving
completed
Set communication protocol as 9600, 8, E, 1
Retain communication protocol
Sett receiving timeout as 100ms
Processing received data
Reset M1127
Sending request
X1
The received data
in HEX.
is stored
in D1070~D1085
Set as RTU mode
X0
MODRD
K1
H2102
Set communication instruction:
D
Data address: H2102
D
ata length: 2 words
evice address: 01
K2
SET
M1143
SET
M1122
RST
M1127
PLC
→ VFD-B , PLC transmits: 01 03 2102 0002 6F F7
VFD-B
→ PLC, PLC receives: 01 03 04 1770 0000 FE 5C
Registers for data to be sent (sending messages)
Register
Data
Descriptions
D1089 low byte
01 H
Address of AC motor drive
D1090 low byte
03 H
Command code of AC motor drive
D1091 low byte
21 H
D1092 low byte
02 H
Starting data address
D1093 low byte
00 H
D1094 low byte
02 H
Number of data (count by word)
D1095 low byte
6F H
CRC CHK Low
D1096 low byte
F7 H
CRC CHK High
Registers for received data (responding messages)
Register
Data
Descriptions
D1070 low byte
01 H
Address of AC motor drive
D1071 low byte
03 H
Command code of AC motor drive
D1072 low byte
04 H
Number of data (count by byte)
D1073 low byte
17 H
D1074 low byte
70 H
Content of address 2102 H
D1075 low byte
00 H
D1076 low byte
00 H
Content of address 2103 H