Delta DVP-ES2 User Manual
Page 470
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 5 4
3. D1252→D1249: Set value for data receiving timeout
4. M1320→M1139: ASCII/RTU mode selection
5. M1316→M1312: sending request
6. M1318→M1314: receiving completed flag
H87
MOV
M1002
D1109
SET
M1136
K100
MOV
D1252
Set communication protocol as 9600, 8, E, 1
Retain communication protocol
Set receiving timeout as 100ms
MODRW
K15
K1
X0
H0500
D0
K16
Connection device
address: K1
Function code: K15
Write in multiple bit devices
Data address: H0500
Data storing register
Data length(bit)
SET
X0
M1316
Sending request
M1320 = OFF
ASCII mode
RST
M1320
M1320 = ON
RTU mode
SET
M1320
RST
M1318
M1318
Reset M1318
ASCII mode: No processing on received data .
RTU mode: No processing on received data .
Received data
Receiving completed
ASCII mode (COM3: M1320 = OFF, COM1: M1139 = OFF):
When X0 = ON, MODRW executes the function specified by Function Code H0F
PLC1
Ö PLC2, PLC sends: “ 01 0F 0500 0010 02 3412 93 ”
PLC2
Ö PLC1, PLC receives: “ 01 0F 0500 0010 DB ”
(No data processing on received data)
RTU mode (COM3: M1320 = ON, COM1: M1139 = ON):
When X0 = ON, MODRW executes the function specified by Function Code H0F
PLC1
Ö PLC2, PLC1 sends: “01 0F 0500 0010 02 34 12 21 ED”
PLC2
Ö PLC1, PLC1 receives: “01 0F 0500 0010 54 CB” ,
(No data processing on received data)