4.15.8 鑽搪孔循環加工範例:G73~G89
- G81/G85 循環動作範例:TS16-815.CNC
;在極座標系做 G81 與 G85 循環動作
G92 X0 Y0 Z0
G90 G0 X50.
G2 I-50. J0 F3000.
G0 X100.
G2 I-100. J0 F3000.
G0 X0 Y0
;
G16
G90 G99 G81 X50. Y0 Z-15. R5. F500.
N1 G91 G81 Y30. Z-10. R5. F500.
M95 P1L10
G15
G90 G0 X0 Y0 Z0
;
G16
G90 G98 G85 X100. Y0 Z-20. R5.F500.
N2 G91 G85 Y20. Z-15. R5. F500.
M95 P2 L16
G15
G90 G0 X0 Y0 Z0
M30
G81/G85 範例圖形
- G73/G83 範例:TS73-83.CNC
;在直角座標系做 G73 與 G83 循環動作
;請先設參數 D 值 =3.0
G92 X0 Y0 Z0
G90 G0 X5. Y5.
G1 X70. F3000.
Y15.
X5.
Y5.
;
G90 G99 G73 X10. Y5. Z-25. Q5. R5. F500.
N1 G91 G73 X10. Z-20. R5. Q5. F500.
M95 P1L4
G90 G0 X70. Y15. Z0
;
G90 G98 G83 X62. Z-25. Q5. R5. F500.
N2 G91 G83 X-10. Z-20. R5. Q5. F500.
M95 P2L4
G90 G0 X0 Y0 Z0
M30
G73/G83 範例圖形