Examples
Example 1: Enable rapid retraction during thread cutting
Program code Comment
N55 M3 S500 G90 G18 ; Active machining plane
... ; Approach the starting position
N65 MSG ("thread cutting") ; Tool infeed
MM_THREAD:
N67 $AC_LIFTFAST=0 ; Reset before starting the thread.
N68 G0 Z5
N68 X10
N70 G33 Z30 K5 LFON DILF=10 LFWP ALF=7 ; Enable rapid retraction during
thread cutting.
Retraction path = 10 mm
Retraction plane: Z/X (because of G18)
Retraction direction: -X
(with ALF=3: Retraction direction +X)
N71 G33 Z55 X15
N72 G1 ; Deselect thread cutting.
N69 IF $AC_LIFTFAST GOTOB MM_THREAD ; If thread cutting has been interrup-
ted.
N90 MSG ("")
...
N70 M30
Example 2: Switch off rapid retraction before tapping.
Program code Comment
N55 M3 S500 G90 G0 X0 Z0
...
N87 MSG ("tapping")
N88 LFOF ; Deactivate rapid retraction before tapping.
N89 CYCLE... ; Tapping cycle with G33.
N90 MSG ("")
...
N99 M30
Example 3: Rapid retraction to absolute retraction position
Path interpolation of X is suppressed in the event of a stop and a motion executed to position
POLF[X] at maximum velocity instead. The motion of the other axes continues to be determined
by the programmed contour or the thread lead and the spindle speed.
Program code Comment
N10 G0 G90 X200 Z0 S200 M3
Fundamentals
2.9 Motion commands
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 233