Frame chains
The frames are chained in the programmed sequence. The frame components (translations,
rotations, etc.) are executed additively in succession.
$P_IFRAME=$P_UIFR[15]:$P_UIFR[16]
$P_UIFR[3]=$P_UIFR[4]:$P_UIFR[5]
Note
The frames must be linked with each other using the concatenation colon : .
5.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.
Syntax
DEF FRAME PALETTE1
PALETTE1=CTRANS(...):CROT(...)...
Significance
DEF FRAME
PALETTE1
=CTRANS(...):
CROT(...)...
Job Planning
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
5.2 Frame variables/assigning values to frames
Creating new frames.
Name of the new frame
Assign values to the possible functions
Coordinate transformation (FRAMES)
$P_UIFR[15] contains, for example,
data for zero offsets. The data of
$P_UIFR[16], e.g., data for rotations,
are subsequently processed additively.
The settable frame 3 is created by
chaining the settable frames 4 and 5.
329