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

5. If rising-edge (LDP, ANDP, ORP) or falling-edge (LDF, ANDF, ORF) contacts are used before<br />

FWD, REV, STOP instructions, sending request flags M1122 (COM2) / M1316 (COM3) has to<br />

be enabled in advance for obtaining correct operation.<br />

6. For detailed information of associated flags and special registers, please refer to RS<br />

instruction.<br />

7. M1177 = OFF, only Delta VFD-A is supported and the definition of each operand is:<br />

a) S 1 = Address of VFD-A. Range of S 1 : K0 ~ K31<br />

b) S 2 = <strong>Operation</strong> frequency of VFD. Set value for VFD A-type inverter: K0 ~ K4,000<br />

(0.0Hz ~ 400.0Hz).<br />

c) n = Communication mode. Range: K1 ~ K2. n = 1: communicate with VFD at designated<br />

address. n = 2: communicate with all connected VFDs. .<br />

d) The feedback data from the peripheral equipment will be stored in D1070 ~ D1080 After<br />

data receiving is completed, PLC will check if all data are correct automatically. If there<br />

is an error, M1142 will be ON. When n = 2, PLC will not receive any data.<br />

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

1. Communication between PLC and VFD-A series inverter. Retry for communication time-out<br />

and data receiving error.<br />

M1002<br />

MOV H0073 D1120<br />

Set up communication protocol as<br />

4800, 8, O, 1<br />

SET<br />

M1120<br />

Retain communication protocol<br />

X0<br />

M1129<br />

M1142<br />

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

SET M1122 Sending request<br />

Retry when receiving time-out occurs<br />

Retry when data receiving error<br />

X0<br />

FWD K0 K500 K1<br />

Receiving completed<br />

M1127<br />

Processing received data<br />

Communication instruction setting:<br />

Device address: 0<br />

Frequency: 500Hz<br />

K1: communicate with the designated VFD<br />

The received data is stored in low byte<br />

of D1070 ~ D1080 in ASCII format.<br />

RST<br />

M1127<br />

Reset M1127<br />

PLC VFD-A, PLC sends: “C ♥ ☺ 0001 0500 ”<br />

VFD-A PLC, PLC receives: “C ♥ ♠ 0001 0500 ”<br />

3-279

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

Saved successfully!

Ooh no, something went wrong!