DVP - ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming

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

M1002

 

 

D1109 Set communication protocol as 9600, 8, E, 1

 

 

 

 

 

 

 

 

MOV

H87

 

 

 

 

 

 

 

 

 

 

 

 

 

SET

M1136

Retain communication protocol

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOV

K100

D1252 Set receiving timeout as 100ms

M1320 = ON

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RST

M1320

M1320 = OFF

 

 

 

 

SET

M1320

 

 

 

 

 

 

 

 

ASCII mode

 

 

 

 

RTU mode

 

X0

 

 

 

 

 

 

 

 

 

 

 

 

Sending request

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SET

M1316

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X0

 

 

 

 

H0500

D0

K16

 

 

 

 

 

 

 

 

 

 

MODRW

K1

K15

Data length(bit)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Data storing register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Data address: H0500

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Function code: K15

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Write in multiple bit devices

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Connection device

Receiving completed

 

 

 

 

 

 

 

 

 

 

 

 

address: K1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

M1318

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Received data

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ASCII mode: No processing on received data .

RTU mode: No processing on received data .

RST

M1318 Reset M1318

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)

3 - 354

Page 470
Image 470
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual M1002 D1109 Set communication protocol as 9600, 8, E