Additional functions
14.4 Wait for valid axis position (WAITENC)
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
673
Program code
Comment
...
IF $P_PROG_EVENT == 4 ; Power-up
IF $P_TRAFO <> 0 ; Transformation has been selected.
WAITENC ; Wait for valid axis positions of the orientation axes.
TOROTZ ; Rotate the Z axis of the Work towards the tool axis.
ENDIF
M17
ENDIF
...
The tool can then be retracted in JOG mode by means of a retraction movement towards the
tool axis.