© Siemens AG All rights reserved. SINUMERIK, Manual, 5-axis machining
Basic information
1.3
11
CNC programming options
Direction vector
programming
Rotary axis
programming
In addition to programming based on the direction vector and rotary axis positions, other forms of
angle programming are also common. These include, for example, Euler or RPY angles. Further
information regarding this can be found in Section “Tool orientation” on page 50.
For the purpose of 5-axis machining, the ori-
entation of the tool needs to be defined in
addition to the position setpoint of the machin-
ing point. The position setpoint is defined in
the CNC program by means of the coordinate
axes X, Y, and Z.
When describing the tool orientation, it makes
sense to specify the direction vector A3, B3,
and C3 so that the orientation can be pro-
grammed independently of the machine kine-
matics.
This enables the position setpoint and tool ori-
entation to be defined in a unique manner.
The example shows the tool in the position
(0,0,0) as a diagonal of a cube (35.26° in rela-
tion to X-Y plane).
N100 G1 X0 Y0 Z0 A3=1 B3=1 C3=1
C3
B3
A3
The same position can be achieved as with
tool orientation by specifying it on the basis of
the rotary axis positions.
The position in the above example would be
expressed as follows:
N100 G1 X0 Y0 Z0 B=54.73561 C=45
The example shows the tool in the position
(0,0,0) as a diagonal of a cube (35.26° in
relation to X-Y plane).
NOTE