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.

<strong>DVP</strong>-<strong>ES2</strong>/<strong>EX2</strong>/<strong>SS2</strong>/<strong>SA2</strong>/<strong>SX2</strong>/SE <strong>Operation</strong> <strong>Manual</strong> - Programming<br />

Register Data Descriptions<br />

D1077 low byte FE H CRC CHK Low<br />

D1078 low byte 5C H CRC CHK High<br />

Program Example 3:<br />

1. In the communication between PLC and VFD-B series AC motor drive (ASCII Mode, M1143 =<br />

OFF), executes Retry when communication time-out, data receiving error or parameter error<br />

occurs.<br />

2. When X0 = ON, PLC will read the data of address H2100 in device 01(VFD-B) and stores the<br />

data in ASCII format in D1070 ~ D1085. PLC will automatically convert the data and store<br />

them in D1050 ~ D1055.<br />

3. M1129 will be ON when communication time-out occurs. The program will trigger M1129 and<br />

send request for reading the data again.<br />

4. M1140 will be ON when data receiving error occurs. The program will trigger M1140 and<br />

send request for reading the data again.<br />

5. M1141 will be ON when parameter error occurs. The program will trigger M1141 and send<br />

request for reading the data again.<br />

M1002<br />

MOV H87 D1120<br />

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

SET<br />

M1120<br />

Retain communication protocol<br />

X0<br />

M1129<br />

M1140<br />

M1141<br />

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

SET M1122 Sending request<br />

Retry when communication time-out occurs<br />

Retry when data receiving error occurs<br />

Retry when parameter error occurs<br />

X0<br />

MODRD K1 H2100 K 6<br />

Set communication instruction:<br />

Data length: 6 words<br />

Data address: H2100<br />

Receiving completed<br />

Device address: 01<br />

M1127<br />

The received ASCII data is stored in D1070-D1085<br />

Handle received data and PLC converts the data and store them into<br />

D1050-D1055 automatically.<br />

RST<br />

M1127<br />

Reset M1127<br />

M1129<br />

RST<br />

M1129<br />

Reset M1129 (receiving timeout)<br />

3-272

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

Saved successfully!

Ooh no, something went wrong!