Frames
6.2 Frame variables / assigning values to frames
Job planning
6-14 Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Programming
Assigning frames
DEF FRAME SETTING1
SETTING1=CTRANS(X,10)
$P_PFRAME=SETTING1
DEF FRAME SETTING4
SETTING4=$P_PFRAME
$P_PFRAME=SETTING4
Assign the values of the user frame
SETTING1 to the current programmable
frame.
The current programmable frame is
stored temporarily and can be
recalled.
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]
$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.
Note
The frames must be linked with each other using the concatenation colon : .