Glorious GZ5 Operation Manual/
17
g0 x—— y——
;
XY axis returns to the initial position of the tool path
。
If don`t change tool
If the B-axis needs to change angle
gosub azxy_safe
;
Return to A->Z->X->Y safe position.
g0 a—— b——
;
A-axis and B-axis return to the initial angle of the program.
s—— m3
;
Set the speed of the spindle,turn on spindle.
g0 x—— y——
;
XY axis returns to the initial position of the program.
If the B-axis does not change angle
If the A-axis need to change angle
gosub azxy_safe
;
Return to A->Z->X->Y safe position.
g0 a—— b——
;
A-axis and B-axis return to the initial angle of the tool path.
s—— m3
;
Set the speed of the spindle,turn on spindle.
g0 x—— y——
;
XY axis returns to the initial position of the program.
If the A-axis does not change angle
gosub z_safe
;
Z axis back to the highest position.
g0 a—— b——
;
A-axis and B-axis return to the initial angle of the tool path.
s—— m3
;
Set the speed of the spindle,turn on spindle.
g0 x—— y——
;
XY axis returns to the initial position of the program.
End Judgement
End Judgement
End Judgement
(End Tool Path )
gosub z_safe
;
Z axis back to the highest position.
g0 a0.0
;
A-axis return to angle 0
.
(End)
m9
;
Stop vacuuming.
m5
;
Stop spindle.
m100
;
Measure tool loss.
t0 m6
;
Spindle tool return.
g30
;
Back to the second reference point of the machine tool.
m101
;
Back to origin.
m30
;
End of program.
The positive direction of the X axis is the international standard direction