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.

3. Instruction Set<br />

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

Register Data Descriptions<br />

D1070 low ‘0’ 30 H ADR 1<br />

D1070 high ‘1’ 31 H ADR 0<br />

D1071 low ‘0’ 30 H CMD 1<br />

D1071 high ‘6’ 36 H CMD 0<br />

D1072 low ‘0’ 30 H<br />

D1072 high ‘1’ 31 H<br />

D1073 low ‘0’ 30 H<br />

Data address<br />

D1073 high ‘0’ 30 H<br />

D1074 low ‘1’ 31 H<br />

D1074 high ‘7’ 37 H<br />

D1075 low ‘7’ 37 H<br />

Data content<br />

D1075 high ‘0’ 30 H<br />

D1076 low ‘7’ 37 H LRC CHK 1<br />

D1076 high ‘1’ 31 H LRC CHK 0<br />

Program Example 2:<br />

Communication between PLC and VFD-B series AC motor drives (RTU Mode, M1143 = ON)<br />

M1002<br />

MOV<br />

H87<br />

D1120<br />

Set communication protocol as 9600, 8, E, 1<br />

SET<br />

M1120<br />

Retain communication protocol<br />

MOV<br />

K100<br />

D1129<br />

Set receiving timeout as 100ms<br />

X1<br />

X0<br />

M1127<br />

Receiving<br />

completed<br />

SET<br />

SET<br />

MODWR<br />

Process of receiving data<br />

RST<br />

M1143<br />

M1122<br />

K1<br />

M1127<br />

Set as RTU mode<br />

Sending request<br />

H2000<br />

The receiving data is stored in<br />

D1070~D1085 in Hex.<br />

Reset M1127<br />

H12<br />

Set communication instruction:<br />

Write in data H12<br />

Data address: H2000<br />

Device address: 01<br />

PLC → VFD-B, PLC transmits: 01 06 2000 0012 02 07<br />

VFD-B → PLC, PLC receives: 01 06 2000 0012 02 07<br />

3-275

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

Saved successfully!

Ooh no, something went wrong!