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

4.3.2 CMD (Command code) and DATA

The content of access data depends on the command code. For descriptions of available command codes, please refer to 4.2.2 in this chapter.

Example: read consecutive 8 words from address 0614H~H61B (T20~T27) of PLC Slave ID#1.

PC→PLC

“ 01 03 06 14 00 08 04 80” Sent message:

Field Name

Example (Hex)

START

No data input 10 ms

 

 

Slave Address

01

 

 

Command code

03

 

 

Starting Address

06

 

14

 

 

 

Number of Points

00

 

08

 

 

 

CRC CHK Low

04

 

 

CRC CHK High

80

 

 

END

No data input 10 ms

 

 

PLC→PC

01 03 10 00 01 00 02 00 03 00 04 00 05 00 06 00 07 00 08 72 98” Feedback message:

Field Name

Example (Hex)

START

No data input 10 ms

 

 

Slave Address

01

 

 

Command code

03

 

 

Bytes Count

10

 

 

Data Hi (T20)

00

 

 

Data Lo (T20)

01

 

 

Data Hi (T21)

00

 

 

Data Lo (T21)

02

 

 

Data Hi (T22)

00

 

 

Data Lo (T22)

03

 

 

Data Hi (T23)

00

 

 

Data Lo (T23)

04

 

 

Data Hi (T24)

00

 

 

4 - 8

Page 610
Image 610
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual CMD Command code and Data, Field Name Example Hex