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

2.M1136→M1138: retain communication setting

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

MOV

H87

D1109

Set communication protocol as 9600,8,E,1

SET

M1136

Retain communication setting

MOV

K100

D1252

Set communication timeout as 100ms

 

 

 

 

 

RST

M1320

M1320 = OFF

 

 

 

 

SET

 

M1320

M1320 = ON

 

X0

 

 

 

ASCII mode

 

 

 

 

 

 

 

 

RTU mode

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Sending request

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SET

M1316

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MODRW

K1

K16

H2000

D50

K2

Data length: K2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Datat register:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D50 = H1770, D51=H12

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Data address: H2000

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Function Code: K16

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Write in multiple Word data

Receiving completed

 

 

 

 

 

 

 

 

 

 

 

 

 

Connection device address: K1

 

 

 

 

 

 

 

 

 

 

 

 

 

M1318

Received data

ASCII mode: No processing on received data .

RTU mode: No processing on received data .

RST

M1318

Reset M1318

zASCII mode (COM3: M1320 = OFF, COM1: M1139 = OFF):

When X0 = ON, MODRW executes the function specified by Function Code H10 PLC ÖVFD-B, PLC sends: “01 10 2000 0002 04 1770 0012 30” VFDÖPLC, PLC receives: “01 10 2000 0002 CD”

(No processing on received data)

zRTU Mode (COM3: M1320=On, COM1: M1139=On):

When X0 = ON, MODRW executes the function specified by Function Code H10 PLC ÖVFD-B,PLC sends: “01 10 2000 0002 04 1770 0012 EE 0C” VFD-BÖPLC, PLC receives :01 10 2000 0002 4A08

(No processing on received data)

3 - 358

Page 474
Image 474
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual M1320 M1320 = OFF