Set Communication Protocol As 9600, 8, E; Retain Communication Protocol - Delta DVP-ES2 Operation Manual

Hide thumbs Also See for DVP-ES2:
Table of Contents

Advertisement

3. Take the connection between PLC COM2 and VFD-B AC motor drive for example, the tables
below explain the status when PLC COM2 writes multiple word devices in VFD-B.
M1002
MOV
SET
MOV
RST
X0
SET
X0
MODRW
Receiving completed
M1127
Processing received data
ASCII mode: The received data is stored in D1070~D1085 in ASCII format
RTU mode: The received data is stored in D1070~D1085 in Hex
RST
ASCII mode (M1143 = OFF)
When X0 = ON, MODRW instruction executes the function specified by Function Code H10
PLC VFD-B, PLC transmits: "01 10 2000 0002 04 1770 0012 30"
VFDPLC, PLC receives: "01 10 2000 0002 CD"
Registers for data to be sent (sending messages)
Register
D1256 Low byte
D1256 High byte
D1257 Low byte
D1257 High byte
D1258 Low byte
D1258 High byte
D1259 Low byte
D1259 High byte
D1260 Low byte
D1260 High byte
D1261 Low byte
D1261 High byte
D1262 Low byte
D1262 High byte
D1263 Low byte
D1263 High byte

Set communication protocol as 9600, 8, E, 1

H87
D1120

Retain communication protocol

M1120
Set communication timeout as 100ms
K100
D1129
M1143 = OFF
M1143
ASCII mode
Sending request
M1122
K1
K16
H2000
Reset M1127
M1127
Data
'0'
30 H
ADR 1
'1'
31 H
ADR 0
'1'
31 H
CMD 1
'0'
30 H
CMD 0
'2'
32 H
'0'
30 H
Data Address
'0'
30 H
'0'
30 H
'0'
30 H
'0'
30 H
Number of Register
'0'
30 H
'2'
32 H
'0'
30 H
Byte Count
'4'
34 H
'1'
31 H
Data contents 1
'7'
37 H
3 . I ns t r uc ti on Se t
SET
M1143
D50
K2
Data length(word)
Data storing register
Data address: H2000
Function code: K16
write in multiple Words
Connection device
address: K1
Descriptions
Address of VFD: ADR (1,0)
Control parameter: CMD (1,0)
The content of register D50:
H1770(K6000)
M1143 = ON
RTU mode
3 - 3 8 1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dvp-seDvp-tpDvp-ex2Dvp-ss2Dvp-sa2Dvp-sx2

Table of Contents