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

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

5. M1316→M1312: sending request<br />

6. M1318→M1314: receiving completed flag<br />

M1002<br />

MOV<br />

H87<br />

D1109<br />

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

SET<br />

M1136<br />

Retain communication setting<br />

MOV<br />

K100<br />

D1252<br />

Set communication timeout as 100ms<br />

X0<br />

X0<br />

M1318<br />

RST M1320 M1320 = OFF<br />

SET M1320<br />

ASCII mode<br />

SET<br />

MODRW<br />

Receiving completed<br />

M1316<br />

K1<br />

Received data<br />

Sending request<br />

K16<br />

ASCII mode: No processing on received data .<br />

RTU mode: No processing on received data .<br />

H2000 D50 K2<br />

M1320 = ON<br />

RTU mode<br />

Data length: K2<br />

Datat register:<br />

D50 = H1770, D51=H12<br />

Data address: H2000<br />

Function Code: K16<br />

Write in multiple Word data<br />

Connection device address: K1<br />

RST<br />

M1318<br />

Reset M1318<br />

• ASCII mode (COM3: M1320 = OFF, COM1: M1139 = OFF):<br />

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

PLC VFD-B, PLC sends: “01 10 2000 0002 04 1770 0012 30”<br />

VFDPLC, PLC receives: “01 10 2000 0002 CD”<br />

(No processing on received data)<br />

• RTU Mode (COM3: M1320=On, COM1: M1139=On):<br />

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

PLC VFD-B,PLC sends: “01 10 2000 0002 04 1770 0012 EE 0C”<br />

VFD-BPLC, PLC receives :"01 10 2000 0002 4A08"<br />

(No processing on received data)<br />

3-358

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

Saved successfully!

Ooh no, something went wrong!