5
Categories and Use of Basic Application Instructions
DVP-PM Application Manual
5-93
the data again. The specified times of retry: 3 (D0 = 3).
M1002
MOV
H87
D1120
SET
M1120
SET
M1122
MOV
K100
D1129
RST
M1127
M1127
X0
MODWR
K1
H0100
H1770
X0
M1129
M1140
M1141
RST
M1129
MOV
K3
D0
LD>=
D0
D100
M1122
INC
D100
RST
D100
M1129
M1140
RST
M1140
M1141
RST
M1141
Retry when communication time-out occurs
Retry when data receiving error occurs
Retry when parameter error occurs
Receiving completed
Processing received data
Set communication protocol as 9600, 8, E, 1
Retain communication protocol
Set communication timeout as 100ms
Sending request
Set communication instruction:
Data: H1770
Data address: H0100
Device address: 01
The received data is stored in D1070-D1085
in ASCII format .
Reset M1127
Reset M1129 (receiving timeout)
Points to note:
1. If rising-edge contacts (LDP, ANDP, ORP) or falling-edge contacts (LDF, ANDF, ORF) is used before MODWR
instruction, sending request flag M1122 has to be executed as a requirement..
2. There is no limitation on the times of using this instruction, but only one instruction can be executed at a time on
the same COM port.
Summary of Contents for DVP-10PM
Page 1: ......
Page 45: ...2 Hardware Specifications and Wiring DVP PM Application Manual 2 30 MEMO...
Page 125: ...3 Functions of Devices in DVP PM DVP PM Application Manual 3 80 MEMO...
Page 341: ...8 Application Examples DVP PM Application Manual 8 2 Trajectory 3 Trajectory 4...
Page 427: ...9 Electrical CAM DVP PM Application Manual 9 74...
Page 437: ...10 Encrypting User Program DVP PM Application Manual 10 10 MEMO...
Page 458: ...11 G code Application DVP PM Application Manual 11 21 B O100 main program...
Page 561: ...14 Appendix DVP PM Application Manual 14 4 MEMO...