K2: Axis Types, Coordinate Systems, Frames
10.5 Frames
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
787
• When programming X and Y the new X-axis lies in the old ZX plane.
• When programming Z and X the new Z-axis lies in the old YZ plane.
• When programming Y and Z the new Y-axis lies in the old XY plane.
If the required coordinate system does not correspond to this basic setting, then an additional rotation must be
performed with
AROT...
.
On programming the solid angles, they are converted into the equivalent RPY or Euler angles, depending on
machine data:
MD10600 $MN_FRAME_ANGLE_INPUT_MODE
.
These then appear also in the display.
Frame rotation in tool direction
With the language command
TOFRAME
, which also existed in older software versions, it is possible to define a
frame whose Z axis points in the tool direction.
An already programmed frame is then overwritten by a frame, which describes a pure rotation. Any zero offsets,
mirrorings or scalings existing in the previously active frame are deleted.
This response is sometimes interfering. It is often particularly practical to retain a zero offset, with which the
reference point in the workpiece is defined.
The language command
TOROT
is then also used. This command overwrites only the rotation component in the
programmed frame and leaves the remaining components unchanged. The rotation defined with
TOROT
is the
same as that defined with
TOFRAME
.
TOROT
is, like
TOFRAME
, independent of the availability of an orientational toolholder. This language command is
also especially useful for 5-axis transformations.
The new language command
TOROT
ensures consistent programming with active orientational toolholders for
each kinematics type.
TOFRAME
or
TOROT
defines frames whose Z direction points in the tool direction. This definition is suitable for
milling, where
G17
is usually active. However, particularly with turning or, more generally, when
G18
or
G19
is
active, it is desirable that frames, which will be aligned on the X or Y axis, can be defined. As a result of this, the
G codes below are newly introduced into G code group 53:
These G codes enable corresponding frames to be defined. The functions of
TOFRAME
and
TOFRAMEZ
or of
TOROT
and
TOROTZ
are identical to one another.
TOFRAMEX
TOFRMAEY
TOFRAMEZ
TOROTX
TOROTY
TOROTZ