Glorious GZ5 Operation Manual/
16
4.7
GZ5 Typesetting Software Post-Processing (Only for reference by
CAM software application engineers)
(Program Begin)
gosub check_empty_tool
;
Confirm there is no tool on the spindle at the beginning
of the program.
g0 g17 g40 g49 g54 g80 g90
;
G code initialization.
(Tool Path Begin)
if need to change tool
m9
;
Stop vacuuming.
m5
;
Stop spindle.
gosub azxy_safe
;
Return to A->Z->X-> safe position.
g0 b0.0
;
B-axis return to angle 0
.
If there is no tool on the spindle(t0)
m100
;
Confirm there is no tool on the Spindle
End Judgement
t—— m6
;
Change tool.
g0 g90 a—— b——
;
A-axis and B-axis return to the initial angle of the tool
path.
IF t1
m8
;
If it is roughing,turn on the vacuum.
End Judgement
s—— m3
;
Set the speed of the spindle,turn on spindle.