EasyManua.ls Logo

Delta DVP-EX2 - Page 451

Delta DVP-EX2
1006 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
DVP-ES2/EX2/EC5/SS2/SA2/SX2/SE&TP Operation Manual - Programming
3-330
Program Example 1:
Communication between PLC and VFD-B series AC motor drives (ASCII Mode, M1143 = OFF)
MOV D1120
H87
M1002
SET
M1120
M1127
RST M1127
Receiving
completed
Set communication protocol as 9600, 8, E, 1
Retain communication protocol
Set receiving timeout as 100ms
Processing received data
Reset M1127
Sending request
X1
X0
Set communication instruction:
Data address: H0100
Data: H1770
Device address: 01
The received data is stored in
D1070~D1085 in ASCII format.
MOV D1129
K100
SET M1122
MODWR H0100
K1
H1770
PLC VFD-B, PLC transmits: “01 06 0100 1770 71
VFD-B PLC, PLC receives: “01 06 0100 1770 71
Registers for data to be sent (sending messages)
Register
Data
Descriptions
D1089 low
‘0’
30 H
ADR 1
Address of AC motor drive: ADR
(1,0)
D1089 high
‘1’
31 H
ADR 0
D1090 low
‘0’
30 H
CMD 1
Command code of AC motor
drive: CMD (1,0)
D1090 high
‘6’
36 H
CMD 0
D1091 low
‘0’
30 H
Data address
D1091 high
‘1’
31 H
D1092 low
‘0’
30 H
D1092 high
‘0’
30 H
D1093 low
‘1’
31 H
Data contents
D1093 high
‘7’
37 H
D1094 low
‘7’
37 H
D1094 high
‘0’
30 H
D1095 low
‘7’
37 H
LRC CHK 1
Checksum: LRC CHK (0,1)
D1095 high
‘1’
31 H
LRC CHK 0

Table of Contents

Related product manuals