K2: Axis Types, Coordinate Systems, Frames
10.5 Frames
Basic Functions
734
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
System variable $P_CHSFRMASK
The system frames of the data management can be activated using system variable $P_CHSFRMASK. The
value of the variables is specified as bit coded according to the machine data:
MD28082 $MC_MM_SYSTEM_FRAME_MASK (system frames of the data management)
The corresponding system frame of the data management in the channel is activated by setting a bit of the
system variable $P_CHSFRMASK to a value of 1. For a value of 0, the currently active system frame in the
channel remains active.
Activating system frames after RESET
After RESET, the system frames in the channel are activated whose bits are set in the following machine data:
MD24006 $MC_CHSFRAME_RESET_MASK (active system frames after Reset)
Activating system frames for TCARR, PAROT and TOROT, TOFRAME
The system frames for
TCARR
,
PAROT
and
TOROT
,
TOFRAME
are activated according to the setting in the
following machine data:
MD20150 $MC_GCODE_RESET_VALUES (initial setting of the G groups)
When changing over geometry axes using transformation selection/deselection or the
GEOAX
command, the
actual total frame $P_ACTFRAME is either deleted or is re-calculated using the new geometry axis constellation
and activated. The system frames and all other frames are conditioned again in relation to the geometry axes.
10.5.3.3
NCU global frames
All settable frames
G54
to
G599
and all basic frames can be configured NCU globally or channel-specifically. A
combination of these is also possible with basic frames. Global frames affect all channels on an NCU. All
channels have read and write access to the NCU. Global frames only have axial frame components, such as
translations, scales and mirrors of individual axes. Each channel can read or modify global frames for any
machine axis.
A characteristic of global frames is that they are calculated in all channels of an NCU. As the assignment of
machine axes to channel axes and, in particular, to geometry axes, can be different in all channels, there is no
geometric relationship. Global frames describe offsets, scales and mirrors of machine axes. Rotations cannot be
used on global frames.
All settable frames can be reconfigured to global frames with the following machine data:
MD18601 $MN_MM_NUM_GLOBAL_USER_FRAMES (number of global, pre-defined user frames (SRAM))
If the value of this machine data is greater than zero, there are no channel-specific settable frames.
The following machine data becomes irrelevant then, and is not evaluated:
MD28080 $MC_MM_NUM_USER_FRAMES (number of settable frames (SRAM))
The number of global basic frames is parameterized through the following machine data:
MD18602 $MN_MM_NUM_GLOBAL_BASE_FRAMES (number of global, basic frames (SRAM))
Channel-specific basic frames can also exist simultaneously through the following machine data:
MD28081 $MC_MM_NUM_BASE_FRAMES (number of basic frames (SRAM))
Global frames can be read and written from all channels of an NCU. When writing global frames, the user must
ensure channel coordination. This can be achieved through e.g., wait markers.