Frames
6.8 Frame generation according to tool orientation (TOFRAME, TOROT, PAROT)
Fundamentals
Programming Manual, 11/2006, 6FC5398-1BP10-2BA0
263
Turning operations in particular, and active G18 or G19 in general, require frames, with
which the tool is aligned in the X or Y axis. A frame of this type can be defined with G codes
• TOFRAMEX TOROTX
• TOFRAMEY TOROTY
• TOFRAMEZ
TOROTZ. This functionality of TOFRAME and TOFRAMEZ or TOROT and TOROTZ is
identical in each case.
Example of TOFRAME
N100 G0 G53 X100 Z100 D0
N120 TOFRAME
N140 G91 Z20
;Frame TOFRAME is included, all programmed geometry axis
;movements
;refer to TOFRAME
N160 X50
...
Milling with working plane G17
TOFRAME or TOROT defines frames whose Z axes point in the tool direction. This definition
is tailored to milling operations, for which working plane G17 X/Y of the 1st – 2nd geometry
axis is typically active.
Turning with working plane G18 or G19
Turning operations in particular, and active G18 or G19 in general, require frames, with
which the tool is aligned in the X or Y axis. A frame of this type can be defined with G codes
• TOFRAMEX TOROTX
• TOFRAMEY TOROTY
• TOFRAMEZ
TOROTZ. This functionality of TOFRAME and TOFRAMEZ or TOROT and TOROTZ is
identical in each case.
Assigning axis direction
If one of the G codes TOFRAMEX, TOFRAMEY, TOROTX, TOROTY is programmed
instead of TOFRAME(Z) or TOROT(Z), the axis directions are assigned as shown in the
table below:
TOFRAME (Z),
TOROT (Z)
TOFRAMEY,
TOROTY
TOFRAMEX,
TOROTX
Z
Y X Tool direction (applicate)
X
Z Y Secondary axis (abscissa)