Key functions for 5-axis machining
3.5
© Siemens AG All rights reserved. SINUMERIK, Manual, 5-axis machining
62
3.5.6 Example application involving TRAORI and frames
Example: TOROT - Retraction from a slanted hole
When 5-axis transformation is active, TOROT generates a frame whose Z axis coincides with the
current tool orientation. This function can be used with a 5-axis program, for example, to retract
the tool after a tool breakage without collision, simply by retracting the Z axis. Following tool ori-
entation with TOROT, all the geometry axis movements programmed will relate to the frame gen-
erated as a result of this function.
Programming TOROT in MDI
TOROT must be deselected prior to the next program start: TOROTOF.
N110 TRAORI ; Activate TRAFO
N120 TOROT ; Calculate and select retraction frame
N130 G1 G91 Z50 F500 ; Retraction by 50 mm in Z direction in a straight line
N140 M17 ; End of subprogram
A frame containing the current tool orientation
in the Z direction is generated. . This
means that in JOG mode, the tool can be
retracted from the workpiece in the Z direction.
As an alternative to traversing incrementally in
MDI mode, in JOG mode you can use the
direction key to enable retraction in the tool
direction.
Notice:
Retraction is only possible in JOG mode if the
machine has been configured accordingly (Z
axis serves as the geometry axis).
1
1
NOTE