Programming example
Programing Example
Thread tapping
; Thread tapping
(----------------------------------------------------------------------------)
T5 D5 ( Current tool data )
M6 ( Tool change )
G00 G17 G90 G54 M03 S400 ( Technology data )
Z200 ( Travel to retraction plane )
( right-hand thread )
X20 Y20 ( Thread tapping position )
L CYCLE [NAME=SysDrillTapping.ecy @P49=20 @P1=0 \
@P13=5 @P45=20 @P28=180 @P27=200 \
@P81=1]
T13 D13 ( Current tool data )
M6 ( Tool change )
G00 G17 G90 G54 M04 S400 ( Technology data )
Z200 ( Travel to retraction plane )
( left-hand thread )
X40 Y20 ( Thread tapping position )
L CYCLE [NAME=SysDrillTapping.ecy @P49=20 @P1=0 \
@P13=5 @P45=20 @P28=180 @P27=200 \
@P81=1 @P26=-1]
T5 D5 ( Current tool data )
M6 ( Tool change )
G00 G17 G90 G54 M03 S1000 ( Technology data )
Z200 ( Travel to retraction plane )
; Thread tapping with chip breaking
( Thread drilling in two steps, with chip breaking, right-hand thread )
X60 Y20 ( Thread tapping position )
L CYCLE [NAME=SysDrillTapping.ecy @P49=20 @P1=0 \
@P13=5 @P45=20 @P28=180 @P27=200 \
@P81=1 @P30=2 @P79=5 @P52=1]
; Thread tapping with chip evacuation
( Thread tapping in three steps, chip evacuation, right-hand thread )
X80 Y20 ( Thread tapping position )
L CYCLE [NAME=SysDrillTapping.ecy @P49=20 @P1=0 \
@P13=5 @P45=20 @P28=180 @P27=200 \
@P81=1 @P30=3 @P52=2]
Z200 M5 ( Parking position, spindle stop )
(------------------------------------------------------------------------------)
M30