Main program Comment
N50 G41 G1 X16 Y16 F200
N60 Y35
N70 X53 Y65
N90 X71.5 Y16
N100 X16
N110 G40 G0 Z100 M30
Subprogram:
Subprogram Comment
PROC W_CHANGE SAVE ; Subprogram where the actual operat-
ing state is saved
N10 G0 Z100 M5 ;Tool changing position, spindle stop
N20 T11 M6 D1 G41 ;Change tool
N30 REPOSL RMBBL M3 ; Reposition at the contour and return
jump into the main program (this is
programmed in a block)
3.3.7 Traversing direction for fast retraction from the contour
Retraction movement
The following G commands define the retraction movement plane:
● LFTXT
The retraction movement plane is defined by the path tangent and the tool direction (default
setting).
● LFWP
The plane of the retraction movement is the active working plane selected with G
commands G17, G18 or G19. The direction of the retraction movement is not dependent on
the path tangent. This allows a fast retraction to be programmed parallel to the axis.
● LFPOS
Retraction of the axis declared using POLFMASK/POLFMLIN to the absolute axis position
programmed with POLF.
ALF has no influence on the retraction direction for several axes and for several axes in a
linear system.
Programmable traversing direction (ALF=…)
The direction is programmed in discrete steps of 45 degrees with ALF in the plane of the
retraction movement.
The possible traversing directions are stored in special code numbers on the control and can
be called up using these numbers.
Work preparation
3.3 Interrupt routine (ASUB)
NC programming
546 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0