Detailed Description   
2.4 Frames 
  Axis Types, Coordinate Systems, Frames (K2) 
2-104  Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0 
If one of the G codes TOFRAMEX, TOFRAMEY, TOROTX, TOROTY is programmed in place of 
TOFRAME(Z) or TOROT(Z), the descriptions for adapting the axis directions perpendicular to 
the main direction are also valid for the cyclically exchanged axes. The assignments in the 
table below are then valid: 
 
 
TOFRAME, TOFRAMEZ 
TOROT, TOROTZ 
TOFRAMEY 
TOROTY 
TOFRAMEX 
TOROTX 
Tool direction 
(vertical axis) 
Z  Y  X 
Secondary axis 
(horizontal axis) 
X  Z  Y 
Secondary axis 
(ordinate) 
Y  X  Z 
 
Example: 
 
... 
... 
N90 $SC_TOFRAME_MODE=1 
N100 ROT Z45 
N110 TCARR=1 TCOABS T1 D1 
N120 TOROT 
... 
... 
N100 describes a rotation by 45 degrees in the X-Y plane. It is assumed that the toolholder 
activated in N110 rotates the tool by 30 degrees around the X axis, i.e., the tool lies in the  
Y-Z plane and is rotated by 30 degrees relative to the Z axis. As a result the Z axis of the 
frame newly defined in N120 also points in this direction (independently of the value in 
setting data SD42980 $SC_TOFRAME_MODE in N90).  
In the figure below, the situation for setting data setting  
SD42980 $SC_TOFRAME_MODE=1 
is shown: