Siemens SINUMERIK 840D sl Programming Manual page 281

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Syntax
R10=$P_UIFR[$P_UIFNUM,X,RT]
R12=$P_UIFR[25,Z,TR]
R15=$P_PFRAME[Y,TR]
$P_PFRAME[X,TR] = 25
Meaning
$P_UIFRNUM
P_UIFR[n,...,...]
TR
FI
RT
SC
MI
X Y Z
Value range for RT rotation
Rotation around 1st geometry axis: -180° to +180°
Rotation around 2nd geometry axis: -90° to +90°
Rotation around 3rd geometry axis: -180° to +180°
Description
Calling frame
By specifying the system variable $P_UIFRNUM you can access the current zero offset set
with $P_UIFR or G54, G55, ...
($P_UIFRNUM contains the number of the currently set frame).
All other stored settable $P_UIFR frames are called up by specifying the appropriate number
$P_UIFR[n].
For predefined frame variables and user-defined frames, specify the name, e.g.,
$P_IFRAME.
Calling data
The axis name and the frame component of the value you want to access or modify are
written in square brackets, e.g., [X, RT] or [Z, MI].
Job Planning
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
5.2 Frame variables / assigning values to frames
Assign the angle of rotation RT around the X axis
from the currently valid settable zero offset
$P_UIFRNUM to the variable R10.
Assign the offset value TR in Z from the data
record of set frame no. 25 to the variable R12.
Assign the offset value TR in Y of the current
programmable frame to the variable R15.
Modify the offset value TR in X of the current
programmable frame. X25 applies immediately.
This command automatically establishes the reference to the
currently valid settable zero offset.
Specify the frame number n to access the settable frame no.
n.
Specify the component to be read or modified:
TR Translation
FI Translation Fine
RT Rotation
SC Scale scale modification
MI Mirroring
The corresponding axis X, Y, Z is also specified (see
examples).
Coordinate transformations (frames)
281

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents