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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3. Instruction Set<br />

Register Data Descriptions<br />

D6 low byte<br />

03 H<br />

address H2101 PLC COM2 automatically<br />

store the value in D1297<br />

D7 low byte<br />

0B H<br />

0BB8 H<br />

Content of<br />

PLC COM2 automatically<br />

D8 low byte<br />

B8 H<br />

address H2102<br />

stores the value in D1298<br />

D9 low byte<br />

0B H<br />

0BB8 H<br />

Content of<br />

PLC COM2 automatically<br />

D10 low byte B8 H<br />

address H2103<br />

store the value in D1299<br />

D11 low byte 00 H<br />

0000 H<br />

Content of<br />

PLC COM2 automatically<br />

D12 low byte 00 H<br />

address H2104<br />

store the value in D1300<br />

D13 low byte 01 H<br />

012D H<br />

Content of<br />

PLC COM2 automatically<br />

D14 low byte 2D H<br />

address H2105<br />

store the value in D1301<br />

D15 low byte 8E H CRC CHK Low<br />

D16 low byte C5 H CRC CHK High<br />

Program example 4: COM1(RS-232) / COM3(RS-485), Function Code H03<br />

1. Function code K3 (H03): read multiple Word devices, up to 16 words can be read. For COM2<br />

ASCII mode, only 8 words can be read..<br />

2. PLC COM1 / COM3 stores the received data in registers starting from S, and the stored data<br />

can be transformed and moved by using DTM instruction for applications of other purposes.<br />

3. Take the connection between PLC and VFD-B for example, the tables below explains the<br />

status when PLC reads VFD-B status. (M1320 = OFF, ASCII Mode ), (M1320 = ON, RTU<br />

Mode)<br />

• If PLC applies COM1 for communication, the below program can be usable by changing:<br />

1. D1109→D1036: communication protocol<br />

2. M1136→M1138: retain communication setting<br />

3. D1252→D1249: Set value for data receiving timeout<br />

4. M1320→M1139: ASCII/RTU mode selection<br />

5. M1316→M1312: sending request<br />

6. M1318→M1314: receiving completed flag<br />

3-341

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

Saved successfully!

Ooh no, something went wrong!