beautypg.com

Delta Electronics Programmable Logic Controller DVP-PLC User Manual

Page 369

background image

7 Application Instructions API 50-99

D V P - P L C A P P L I C AT I O N M A N U A L

7-85

MOV

D1120

H86

M1002

SET

M1120

SET

M1122

MOV

D1129

K100

X10

M1123

RST

M1123

RS

D100

K8

D120

K8

SET

M1161

Process of received data

Set up communication protocol 9600,7,E,1

Retain communication protocol

Set up communication time-out 100ms

8-bit mode

Sending request

pulses

Write in data to be transmitted in advance

Set up sending request

Receiving of data is completed.
The flag is reset.

PLC Ö VFD-B, PLC sends: 01 06 2000 0012 02 07

VFD-B Ö PLC, PLC receives: 01 06 2000 0012 02 07

Registers for sent data (PLC sends out messages)

Register

Data

Explanation

D100 low

01 H

Address

D101 low

06 H

Function

D102 low

20 H

D103 low

00 H

Data address

D104 low

00 H

D105 low

12 H

Data content

D106 low

02 H

CRC CHK Low

D107 low

07 H

CRC CHK High

Registers for received data (VFD-B responds with messages)

Register

Data

Explanation

D120 low

01 H

Address

D121 low

06 H

Function

D122 low

20 H

D123 low

00 H

Data address

D124 low

00 H

D125 low

12 H

Data content

D126 low

02 H

CRC CHK Low

D127 low

07 H

CRC CHK High

Remarks:

1. Flags for the RS-485 communication of RS/MODRD/MODWR/FWD/REV/STOP/RDST/RSTEF/MODRW

instructions