6 Basic Usage of Motion Instructions and G-codes
Example
If X0 is ON, DINTR in Ox0 will be executed. The Y-axis accelerates to the first
speed 250 kHz in 100 ms, and operates at the speed stably. When DOG’s signal
is triggered, it further accelerates to the second speed 500 kHz, and finishes the
double speed positioning on the Y-axis with the additional 500,000 pulses.
If X0 is OFF, Ox0 and DINTR will be disabled.
SET
M1074
X0
MOVP
H8000
D1868
RST
M1074
X0
BRET
MOVP
K100
D1916
MOVP
K100
D1917
DINTR
YKK500000
FKK250000 FKK500000
Ox0
Additional
remark
Relevant special data registers: Please refer to chapter 3 for more information.
D1836 Time (T
ACC
) it takes for the X-axis to accelerate
D1837 Time (T
DEC
) it takes for the X-axis to decelerate
D1848, D1849 Present command position of the X-axis
D1916 Time (T
ACC
) it takes for the Y-axis to accelerate
D1917 Time (T
DEC
) it takes for the Y-axis to decelerate
D1928, D1929 Present command position of the Y-axis
DVP-20PM Application Manual
6-33