EasyManuals Logo

Siemens MCP 398C Programming Manual

Siemens MCP 398C
1334 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #638 background imageLoading...
Page #638 background image
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 Comment
$P_IFRAME = $P_UIFR[15] :
$P_UIFR[16]
; 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
$P_UIFR[3] = $P_UIFR[4] :
$P_UIFR[5]
; Assignment of the result frame from the chaining
of the
; two settable data storage frames on a
; different settable data storage frame
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: Define user variable of the type FRAME.
<name>: Name of the frame variable
Example
Definition of a "PALETTE" frame variable and the assignment of offset and rotation values:
Program code Comment
DEF FRAME PALETTE ; Define PALETTE frame variable
PALETTE = CTRANS(...) : CROT(...) ; Assignment of the result frame of the chaining
for
; offset and rotation on the PALETTE frame variable
Work preparation
3.8 Coordinate transformations (frames)
NC programming
638 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0

Table of Contents

Other manuals for Siemens MCP 398C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens MCP 398C and is the answer not in the manual?

Siemens MCP 398C Specifications

General IconGeneral
BrandSiemens
ModelMCP 398C
CategoryControl Systems
LanguageEnglish

Related product manuals