Frames
6.2 Frame variables / assigning values to frames
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
6-15
6.2.4 Defining new frames (DEF FRAME)
Function
In addition to the predefined settable frames described above, you also have the option of
creating new frames. This is achieved by creating variables of type FRAME to which you can
assign a name of your choice.
You can use the functions CTRANS, CROT, CSCALE and CMIRROR to assign values to
your frames in the NC program.
Programming
DEF FRAME PALETTE1
or
PALETTE1=CTRANS(…):CROT(…)…
Parameters
DEF FRAME Creating new frames
PALETTE1 Name of the new frame
=CTRANS(...):
CROT(...)...
Assigning values to the possible functions
6.2.5 Specifying frame rotations (ROT, ROTS, TOFRAME, TOROT, PAROT)
Function
Frame rotations can be used to define application-specific orientations in the area.
Parameters
ROT Individual rotations for all geometry axes.
ROTS, AROTS, CROTS Rotation by specifying a solid angle (max. 2);
see description in /FB1/ K2: Coordinate systems.
TOFRAME Rotation by frame "TOFRAME", with Z axis pointing in the
tool direction.
TOROT Rotation by frame "TOROT", which only overwrites the
rotation component of frames that have already been
programmed.
PAROT Workpiece-oriented frame rotation. The rotation component
is determined by the rotation component of an oriented
toolholder.