Global Frames - Siemens SINUMERIK 840D sl Programming Manual

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

Advertisement

Program code
N500 X=IDEAL_POINT[1,0] Y=IDEAL_POINT[1,1] Z=IDEAL_POINT[1,2]
N510 SHOW_MCS_POS2[0]=$AA_IM[X]
N520 SHOW_MCS_POS2[1]=$AA_IM[Y]
N530 SHOW_MCS_POS2[2]=$AA_IM[Z]
N600 X=IDEAL_POINT[2,0] Y=IDEAL_POINT[2,1] Z=IDEAL_POINT[2,2]
N610 SHOW_MCS_POS3[0]=$AA_IM[X]
N620 SHOW_MCS_POS3[1]=$AA_IM[Y]
N630 SHOW_MCS_POS3[2]=$AA_IM[Z]
N700 G500
No_FRAME
M0
M30
Example 2: Chaining of frames
Chaining of MEAFRAME for offsets
The MEAFRAME function returns an offset frame. If this offset frame is chained to the settable
frame $P_UIFR[1] that was active during the call of the function (e.g. G54), a settable frame is
provided for further conversions for the traversing or machining.
Chaining with ADDFRAME
If you want this offset frame in the frame chain to apply at a different position or if other frames
are active before the settable frame, the ADDFRAME function can be used for chaining into one
of the channel basic frames or a system frame.
The following must not be active in the frames:
● Mirroring with MIRROR
● Scaling with SCALE
The input parameters for the setpoints and actual values are the workpiece coordinates. These
coordinates must always be specified metrically or in inches (G71/G70) and radius-related
(DIAMOF) in the basic system of the control.
Additional information on ADDFRAME, see Function Manual Basic Functions.
3.8.8

Global frames

There is only one set of global frames for all channels on each control. Global frames can be
read and written from all channels. The global frames are activated in the respective channel.
Channel axes and machine axes with offsets can be scaled and mirrored by means of global
frames.
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
Work preparation
3.8 Coordinate transformations (frames)
Comment
; Deactivate settable frame as
with zero frame (no value entered,
pre-assigned).
; Deactivate settable frame, as
pre-assigned with zero frame (no
value entered).
647

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents