beautypg.com

Delta DVP-ES2 User Manual

Page 606

background image

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

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
polling of EASY PLC LINK

None

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

This manual is related to the following products: