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

a) Range of S 1 : K1 ~ K255<br />

b) The instruction will read VFD status at parameter address 2100H~2104H (Please refer<br />

to user manual of specific VFD for details.) and store the feedback data in<br />

D1070~D1074. However, the content in D1070~D1074 will not be updated when<br />

receiving error or timeout occurs. Therefore, please check the status of receiving<br />

completed flag before applying the received data<br />

Program Example: COM2 (RS-485)<br />

1. Communication between PLC and VFD-B series inverter (ASCII Mode, M1143 = OFF).<br />

Retry when communication time-out occurs.<br />

2. Read VFD status at parameter address 2100H~2104H and store the received data in D1070 ~<br />

D1074.<br />

M1002<br />

MOV H86 D1120<br />

Set up communication protocol as<br />

9600, 7, E, 1<br />

SET<br />

M1120<br />

Retain communication protocol<br />

MOV K100 D1129<br />

Set up communication time-out: 100ms<br />

X0<br />

M1129<br />

X0<br />

SET<br />

M1122<br />

Retry when communication time-out occurs<br />

RDST K1 K0<br />

Receiving completed<br />

M1127<br />

Processing received data<br />

Sending request<br />

Communication instruction setting:<br />

Device address: 1<br />

K0: Reserved<br />

The received data is stored in<br />

D1070 ~ D1074.<br />

RST<br />

M1127<br />

Reset M1127.<br />

PLC VFD-B, PLC sends: “:01 03 2100 0005 D6 ”<br />

VFD-B PLC, PLC receives: “:01 03 0A 00C8 7C08 3E00 93AB 0000 2A ”<br />

Data to be sent (sending messages)<br />

Data<br />

Descriptions<br />

‘0’ 30 H ADR 1<br />

‘1’ 31 H ADR 0<br />

AC drive address : ADR (1,0)<br />

‘0’ 30 H CMD 1<br />

‘3’ 33 H CMD 0<br />

Command code: CMD (1,0)<br />

2’ 32 H<br />

‘1’ 31 H<br />

‘0’ 30 H<br />

Starting data address<br />

‘0’ 30 H<br />

3-285

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

Saved successfully!

Ooh no, something went wrong!