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 />

RTU mode (M1143 = ON)<br />

When X0 = ON, MODRW instruction executes the function specified by Function Code 06<br />

PLC VFD-B, PLC sends: “01 06 2000 1770 8C 1E”<br />

VFD-B → PLC, PLC receives: “01 06 2000 1770 8C 1E”<br />

Registers for data to be sent (sending messages)<br />

Register Data Descriptions<br />

D1256 Low byte 01 H Address<br />

D1257 Low byte 06 H Function<br />

D1258 Low byte 20 H<br />

D1259 Low byte 00 H<br />

Data Address<br />

D1260 Low byte 17 H Data H1770 = K6000.<br />

D1261 Low byte 70 H content The content of register D50<br />

D1262 Low byte 8C H CRC CHK Low<br />

D1263 Low byte 1E H CRC CHK High<br />

Registers for received data (responding messages)<br />

Register Data Descriptions<br />

D1070 Low byte 01 H Address<br />

D1071 Low byte 06 H Function<br />

D1072 Low byte<br />

D1073 Low byte<br />

D1074 Low byte<br />

D1075 Low byte<br />

20 H<br />

00 H<br />

17 H<br />

70 H<br />

Data Address<br />

Data content<br />

D1076 Low byte 8C H CRC CHK Low<br />

D1077 Low byte 1E H CRC CHK High<br />

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

1. Function code K6 (H06): Write in single Word device.<br />

2. Set the value to be written into VFD-B in the register specified by operand S.<br />

3. PLC COM1/COM3 will not process the received data.<br />

4. Take the connection between PLC (PLC COM3) and VFD-B for example, the tables below<br />

explains the status when PLC COM3 writes in single Word device in VFD-B (M1320 = OFF,<br />

ASCII Mode ), (M1320 = ON, RTU 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 />

3-349

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

Saved successfully!

Ooh no, something went wrong!