6
Motion Instructions & G-Code Instructions
DVP-PM Application Manual
6-32
Program Example:
1. When X0 = ON, DINTR instruction in OX0 subroutine will be executed. Y axis accelerates to the first speed
250kHz in 100ms and operate at the speed stably. When DOG signal is triggered, it will further accelerate to the
second speed 500kHz, and finish the double speed positioning on Y axis with the additional 500,000 pulses.
2. When X0 = OFF, program OX0 and DINTR instruction will be disabled.
SET
M1074
X0
MOVP
H8000
D1868
RST
M1074
X0
BRET
MOVP
K100
D1916
MOVP
K100
D1917
DINTR
YKK500000
FKK250000
FKK500000
Subroutine OX0
Remarks:
Relevant special registers
D1836
Acceleration time of X axis: T
ACC
D1837
Deceleration time of X axis: T
DEC
D1848
Current position of X axis: CP (low word)
D1849
Current position of X axis: CP (high word)
D1916
Acceleration time of Y axis: T
ACC
D1917
Deceleration time of Y axis: T
DEC
D1928
Current position of Y axis: CP (low word)
D1929
Current position of Y axis: CP (high word)
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...