Defining New Frames (Def Frame) - Siemens SINUMERIK 828D Programming Manual

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Coordinate transformation (FRAMES)
5.2 Frame variables / assigning values to frames
Syntax
Assigning frames
DEF FRAME SETTING1
SETTING1=CTRANS(X,10)
$P_PFRAME=SETTING1
DEF FRAME SETTING4
SETTING4=$P_PFRAME
$P_PFRAME=SETTING4
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(...)...
292
Assign the values of the user frame
SETTING1 to the current programmable
frame.
The current programmable frame is stored
temporarily and can be recalled.
$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.
Creating new frames.
Name of the new frame
Assign values to the possible functions
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
Job planning

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents