Detailed description
2.4 Frames
Basic logic functions: Axes, coordinate systems, frames (K2)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
121
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:
TOFRAMEX
TOFRMAEY
TOFRAMEZ
TOROTX
TOROTY
TOROTZ
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.
With software version P6 and higher, there is the option to write frames produced by
TOROT
or
TOFRAME
into their own system frame ($P_TOOLFR).
For this, bit 3 must be set in machine data
MD28082 $MC_MM_SYSTEM_FRAME_MASK
.
The programmable frame is then retained unchanged.
When programming
TOROT
or
TOFRAME
, etc., response is identical, with or without a system
frame. Differences occur when the programmable frame is processed further elsewhere.
In new systems, it is recommended that only the intended system frame is used for frames
produced by G codes in group 53.
Example:
TRANS
is programmed after
TOROT
.
TRANS
without specified parameters deletes the
programmable frame. In the variant without a system frame, this also deletes the frame
component of the programmable frame produced by
TOROT
, but if the
TOROT
component is
in the system frame, it is retained.
TOROT
or
TOFRAME
, etc., are disabled with language command
TOROTOF
.
TOROTOF
deletes
the entire system frame $P_TOOLFR. If the programmable frame (old variant) and not the
system frame is described by commands
TOFRAME
, etc.,
TOROT
only deletes the rotation
component and leaves the remaining frame components unchanged.
If a rotating frame is already active before language command
TOFRAME
or
TOROT
is
activated, a request is often made that the newly defined frame should deviate as little as
possible from the old frame. This is the case, for example, if a frame definition needs to be
modified slightly because the tool orientation cannot be set freely on account of Hirthtoothed
rotary axes. The language commands uniquely define the Z direction of the new frame.
In previous software versions, machine data
MD21110 $MC_X_AXIS_IN_OLD_X_Z_PLANE
can be used to choose between two variants for the position of the X-axis and Y-axis.
However, in both cases there is no reference to the previously active frame.
Summary of Contents for SINUMERIK 840D sl
Page 282: ...Index Basic logic functions Acceleration B2 64 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 388: ...Basic logic functions Travel to fixed stop F1 Function Manual 11 2006 6FC5397 0BP10 2BA0 52 ...
Page 962: ...Index Basic logic functions Emergency Stop N2 20 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1704: ...Constraints Basic logic functions Spindles S1 94 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1716: ...Index Basic logic functions Spindles S1 106 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1996: ...Index Basic logic functions Tool Offset W1 208 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2150: ...Table of contents Basic logic functions Appendix 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2184: ...Glossary Basic logic functions Appendix 38 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...