17.03.2014 Views

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>DVP</strong>-<strong>ES2</strong>/<strong>EX2</strong>/<strong>SS2</strong>/<strong>SA2</strong>/<strong>SX2</strong>/SE <strong>Operation</strong> <strong>Manual</strong> - Programming<br />

4.3.2 CMD (Command code) and DATA<br />

The content of access data depends on the command code. For descriptions of available command<br />

codes, please refer to 4.2.2 in this chapter.<br />

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

PC→PLC<br />

“ 01 03 06 14 00 08 04 80”<br />

Sent message:<br />

Field Name<br />

Example (Hex)<br />

START<br />

No data input ≥ 10 ms<br />

Slave Address 01<br />

Command code 03<br />

Starting Address<br />

06<br />

14<br />

Number of Points<br />

00<br />

08<br />

CRC CHK Low 04<br />

CRC CHK High 80<br />

END<br />

No data input ≥ 10 ms<br />

PLC→PC<br />

“ 01 03 10 00 01 00 02 00 03 00 04 00 05 00 06 00 07 00 08 72 98”<br />

Feedback message:<br />

Field Name<br />

Example (Hex)<br />

START<br />

No data input ≥ 10 ms<br />

Slave Address 01<br />

Command code 03<br />

Bytes Count 10<br />

Data Hi (T20) 00<br />

Data Lo (T20) 01<br />

Data Hi (T21) 00<br />

Data Lo (T21) 02<br />

Data Hi (T22) 00<br />

Data Lo (T22) 03<br />

Data Hi (T23) 00<br />

Data Lo (T23) 04<br />

Data Hi (T24) 00<br />

4-8

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!