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

Available setting for command code:

CMD(Hex)

Explanation

Device

01 (01 H)

Read status of contact

S, Y, M, T, C

 

 

 

02 (02 H)

Read status of contact

S, X, Y, M,T, C

 

 

 

03 (03 H)

Read content of register

T, C, D

 

 

 

05 (05 H)

Force ON/OFF single contact

S, Y, M, T, C

 

 

 

06 (06 H)

Set content of single register

T, C, D

 

 

 

15 (0F H)

Force ON/OFF multiple contacts

S, Y, M, T, C

 

 

 

16 (10 H)

Set content of multiple registers

T, C, D

 

 

 

17 (11 H)

Retrieve information of Slave

None

 

 

 

23 (17 H)

Simultaneous data read/write in a

None

polling of EASY PLC LINK

 

 

 

 

 

Example: Read devices T20~T27 (address: H0614~H61B) from Slave ID#01(station number)

PC→PLC

“: 01 03 06 14 00 08 DA CR LF” Sent massage:

Field name

ASCII

Hex

STX

:

3A

 

 

 

Slave Address

01

30 31

 

 

 

Command code

03

30 33

 

 

 

Starting Address High

06

30 36

 

 

 

Starting Address Low

14

31 34

 

 

 

Number of Points High

00

30 30

 

 

 

Number of Points Low

08

30 38

 

 

 

LRC checksum

DA

44 41

 

 

 

END

CR LF

0D 0A

 

 

 

PLC→PC

“: 01 03 10 00 01 00 02 00 03 00 04 00 05 00 06 00 07 00 08 C8 CR LF” Responded massage:

Field name

ASCII

Hex

STX

:

3A

 

 

 

Slave Address

01

30 31

 

 

 

Command code

03

30 33

 

 

 

4 - 4

Page 606
Image 606
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual CMDHex Explanation Device, Pc→Plc, Ascii, End Cr Lf, Plc→Pc