5
Categories and Use of Basic Application Instructions
DVP-PM Application Manual
5-91
Program Example 2:
Communication between DVP-PM and VFD-B series AC motor drive (RTU mode, M1143 = ON)
MOV
D1120
H87
M1002
SET
M1120
Set communication protocol as 9600, 8, E, 1
Retain communication protocol
Set receiving timeout as 100ms
Sending request
X1
M1127
RST
M1127
Receiving
completed
Process of receiving data
Reset M1127
The receiving data is stored in
D1070~D1085 in Hex.
Set as RTU mode
X0
Set communication instruction:
Data address: H2000
Write in data H12
Device address: 01
MOV
D1129
K100
SET
M1143
SET
M1122
MODWR
H2000
K1
H12
DVP-PM
Ö
VFD-B, DVP-PM transmits: "
01 06 2000 0012 02 07
”
VFD-B
Ö
DVP-PM, DVP-PM receives: “
01 06 2000 0012 02 07
”
Registers for sent data (sending messages)
Register
DATA
Explanation
D1089 low
01 H
Address of AC motor drive
D1090 low
06 H
Command code of AC motor drive
D1091 low
20 H
D1092 low
00 H
Data Address
D1093 low
00 H
D1094 low
12 H
Data content
D1095 low
02 H
CRC CHK Low
D1096 low
07 H
CRC CHK High
Registers for received data (responding messages)
Register
DATA
Explanation
D1070 low
01 H
Address of AC motor drive
D1071 low
06 H
Command code of AC motor drive
D1072 low
20 H
D1073 low
00 H
Data Address
D1074 low
00 H
D1075 low
12 H
Data content
D1076 low
02 H
CRC CHK Low
D1077 low
07 H
CRC CHK High
Содержание DVP-10PM
Страница 1: ......
Страница 45: ...2 Hardware Specifications and Wiring DVP PM Application Manual 2 30 MEMO...
Страница 125: ...3 Functions of Devices in DVP PM DVP PM Application Manual 3 80 MEMO...
Страница 341: ...8 Application Examples DVP PM Application Manual 8 2 Trajectory 3 Trajectory 4...
Страница 427: ...9 Electrical CAM DVP PM Application Manual 9 74...
Страница 437: ...10 Encrypting User Program DVP PM Application Manual 10 10 MEMO...
Страница 458: ...11 G code Application DVP PM Application Manual 11 21 B O100 main program...
Страница 561: ...14 Appendix DVP PM Application Manual 14 4 MEMO...