Programming Chapter Three Commands and Functions
110
Cycle process:
1. G22 defines the starting of cycle body and L defines the cycle times.
2. Execute the cycle body program.
3. Cycle times L subtracts 1 when G80 cycle body ends. Execute the cycle body program
again when L
≠
0
;
when L=0 , the cycle ends and the following program is executed.
N50
10
25
20
N50
N60
N60
N50
N60
10
20
30
Z
Starting point
End point
Machining the workpiece as Fig. 30a cycle programming with G22, G80 as follows:
N0000 G50 X100 Z100 ; define a coordinate system
N0010 M3 S01
;
start the spindle, set to the low speed
N0020 M8
;
cooling ON
N0030 G00 X10 Z30
;
rapidly position to the starting point of the cycle
N0040 G22 L3
;
program cycles three times
N0050 G01 W-5 F50
;
Z negatively cuts 5mm
,
F=50mm/min
N0060 U5 W-5
;
X positively cuts 5mm
,
Z negatively cuts 5mm
N0070 G80
;
end of cycle body
N0080 G26
;
X, Z rapidly retracts to program zero
N0090
M5
;
stop the spindle
N0100
M9
;
cooling OFF
N0110 M2
;
end of program
Machining the arc as Fig. 30b the cycle programming with G22, G80 as follows:
N0000 G00 X36 Z-5
;
rapidly position to the starting point of arc
N0010 G22 L3
;
program cycle three times
N0020 G01 U-2 F50
;
X executes the tool infeed 1mm
N0030 G03 W-14.28 R10
;
X, Z executes the tool infeed, cutting concave arc
N0040 G01 W14.28 F500
;
Z executes the tool retraction to starting point of arc
N0050 G80
;
end of cycle body
Note 1:
Programming according to the actual shape in the above-mentioned examples. Fig. 30a:
its programming can be used for the rough machining including smithing and moulding,
which can improve the machining efficiency. Fig. 30b: it can be used for machining the
rod.
Note 2:
When executing the part cycle command, the cycle command G90, G92, G94, G71, G72
are not embedded
Содержание GSK928TE
Страница 1: ...GSK928TE II Turning Machine CNC System User Manual...
Страница 117: ...Programming Chapter Three Commands and Functions 112 G99 G01 X50 Z30 F0 2 G04 D2 G99 G01 X50 Z30 F0 2...
Страница 148: ...GSK928TE Turning CNC System User Manual 143 Connection Chapter One Interface 1 1 Interface Layout...
Страница 185: ...Connection Appendix 180 J3 1 AC220V J3 2 0V...