Definition Of Frame Variables (Def Frame) - Siemens SINUMERIK 840D sl Programming Manual

Nc programming
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Work preparation
3.8 Coordinate transformations (frames)
Chainings
The operator : chains frames with each other in the programmed sequence. The frame
components, such as offsets and rotations, are executed successively additive.
Program code
$P_IFRAME = $P_UIFR[15] :
$P_UIFR[16]
$P_UIFR[3] = $P_UIFR[4] :
$P_UIFR[5]
3.8.2.4

Definition of frame variables (DEF FRAME)

In addition to the predefined frame variables, user frame variables can also be defined. The
user-defined frame variables are user variables of type FRAME. The name of the frame can be
assigned freely in accordance with the rules for user variables.
The CTRANS, CROT, CSCALE and CMIRROR functions assign values to user-defined frame
variables.
Syntax
DEF FRAME <name>
Meaning
DEF FRAME:
<name>:
Example
Definition of a "PALETTE" frame variable and the assignment of offset and rotation values:
Program code
DEF FRAME PALETTE
PALETTE = CTRANS(...) : CROT(...) ; Assignment of the result frame of the chaining
638
Comment
; Assignment of the result frame from the chaining
of the
; two settable data storage frames on the active
; settable total frame.
; Application example:
; $P_UIFR[15]: Offset
; $P_UIFR[16]: Rotation
; Assignment of the result frame from the chaining
of the
; two settable data storage frames on a
; different settable data storage frame
Define user variable of the type FRAME.
Name of the frame variable
Comment
; Define PALETTE frame variable
for
; offset and rotation on the PALETTE frame variable
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
NC programming

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents