beautypg.com

Delta DVP-ES2 User Manual

Page 457

background image

3 . I n s t r u c t i o n S e t

3 - 3 4 1

Register

Data

Descriptions

D6 low byte

03 H

address H2101

PLC COM2 automatically

store the value in D1297

D7 low byte

0B H

D8 low byte

B8 H

Content of

address H2102

0BB8 H

PLC COM2 automatically

stores the value in D1298

D9 low byte

0B H

D10 low byte

B8 H

Content of

address H2103

0BB8 H

PLC COM2 automatically

store the value in D1299

D11 low byte

00 H

D12 low byte

00 H

Content of

address H2104

0000 H

PLC COM2 automatically

store the value in D1300

D13 low byte

01 H

D14 low byte

2D H

Content of

address H2105

012D H

PLC COM2 automatically

store the value in D1301

D15 low byte

8E H

CRC CHK Low

D16 low byte

C5 H

CRC CHK High

Program example 4: COM1(RS-232) / COM3(RS-485), Function Code H03

1.

Function code K3 (H03): read multiple Word devices, up to 16 words can be read. For COM2

ASCII mode, only 8 words can be read..

2.

PLC COM1 / COM3 stores the received data in registers starting from S, and the stored data

can be transformed and moved by using DTM instruction for applications of other purposes.

3.

Take the connection between PLC and VFD-B for example, the tables below explains the

status when PLC reads VFD-B status. (M1320 = OFF, ASCII Mode ), (M1320 = ON, RTU

Mode)

z

If PLC applies COM1 for communication, the below program can be usable by changing:

1. D1109→D1036: communication protocol

2. M1136→M1138: retain communication setting

3. D1252→D1249: Set value for data receiving timeout

4. M1320→M1139: ASCII/RTU mode selection

5. M1316→M1312: sending request

6. M1318→M1314: receiving completed flag

This manual is related to the following products: