Delta DVP-ES2 User Manual
Page 458
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 - 3 4 2
H87
M OV
M 1002
D1109
SET
M 1136
K100
M OV
D1252
M ODRW
K3
K1
X0
H2100
D0
K6
Connection device
address: K1
Function code:
Read multiple words
K3
Data address: H2100
Data storing register
Data length(word)
SET
X0
M 1316
M1320 = OFF
ASCII
mode
RST
M 1320
SET
M 1320
Set communication protocol as 9600, 8, E,1
Retain communication setting
Set communication timeout as 100ms
Sending request
M1320 = ON
RTU
mode
RST
M 1318
Processing received data
Reset M1318
M 1318
ASCII mode: The received data is converted to Hex value
and stored in registers starting from D0
RTU mode: The received data is stored in registers starting from D0
Receiving completed
ASCII mode (COM3: M1320 = OFF, COM1: M1139 = OFF):
When X0 = ON, MODRW instruction executes the function specified by Function Code 03
PLC
Ö VFD-B, PLC sends: “01 03 2100 0006 D5”
VFD-B
Ö PLC, PLC receives: “01 03 0C 0100 1766 0000 0000 0136 0000 3B”
Registers for received data (responding messages)
Register
Data
Descriptions
D0 0100
H
PLC converts ASCII codes in 2100 H and stores the converted
data automatically.
D1 1766
H
PLC converts ASCII codes in 2101 H and stores the converted
data automatically.
D2 0000
H
PLC converts ASCII codes in 2102 H and stores the converted
data automatically.
D3 0000
H
PLC converts ASCII codes in 2103 H and stores the converted
data automatically.
D4 0136
H
PLC converts ASCII codes in 2104 H and stores the converted
data automatically.