This is intended as a general guide to configuring a five axis TurboPost.
To insure proper five axis output the geometric configuration
of the milling machine must be described correctly to TurboPost. The switches
for this configuration are in the output_format file.
The types of axes configurations available are:
0 Rotary axis 1 mounted on rotary axis 2
1 Rotary axis 2 mounted on rotary
axis 1
2 Rotary axis 1 with Axis 2
Tilting Tool
3 Rotary axis 2 with Axis 1
Tilting Tool
4 Nutating Tool
5 Rotary axis 1 and 2 with Axis 3 Tilting Tool
6 Rotary axis 2 and 1 with Axis 3 Tilting Tool
7 Rotary axis 3 Nutating Tool on Axis 1 and Axis 2
Axis angle limits may be specified as well. The angle limits
are measured relative to the orientation vector and are measured in a Synergy
coordinate system. The numerical values of the limits may not correspond to the
actual angle values output to a particular CNC machine.
The locations of the rotary axes are specified in macro rotary_vector.
A few sample configurations are:
SAMPLE 1:
A Rotary Axis B Tilting Tool:
For a AB machine with a full 360 deg rotary A axis but with a B axis which
tilts the tool and is limited to a +/- angle of 60 degrees.
By standard convention A is about X and B is about Y. Note that no limits are placed on the full rotary axis. The lines in output_format would look like
this:
five axis: active axis1= A axis2= B
config=2
axis angle limits: axis2_min= -60 axis2_max= 60
rotary B axis: available on shortest comp_type= I angle_addon= 0.0
rotary A axis: available on shortest comp_type= A angle_addon= 0.0
The macro rotary_vector would be as follows:
#macro rotary_vector
#
#
# Macro for changing rotary axis vectors for five axis
#
# SET_ROTARY_ORIGIN Xcenter,Ycenter,Zcenter locate the pivot point for the
rotary axis.
# SET_ROTARY_AXIS Xvector,Yvector,Zvector are the coordinates for a vector
pointing in the direction of the rotary axis.
# SET_ROTARY_ORIENT Xvector,Yvector,Zvector are the coordinates for a vector
pointing in the direction which rotary axis and must turn to properly orient
relative to the tool.
#
ASSIGN: FiveAxisOn
# ROTARY A AXIS
ASSIGN: Rotary_axis= 1;
SET_ROTARY_ORIGIN: Xcenter= 0.0; Ycenter= 0.0; Zcenter= 0.0;
SET_ROTARY_AXIS: Xvector= 1.0; Yvector= 0.0; Zvector= 0.0;
SET_ROTARY_ORIENT: Xvector= 0.0; Yvector= 0.0; Zvector= 1.0;
# ROTARY B AXIS
ASSIGN: Rotary_axis= 2;
SET_ROTARY_ORIGIN: Xcenter= 0.0; Ycenter= 0.0; Zcenter= 0.0;
SET_ROTARY_AXIS: Xvector= 0.0; Yvector= 1.0; Zvector= 0.0;
SET_ROTARY_ORIENT: Xvector= 0.0; Yvector= 0.0; Zvector= 1.0;
SAMPLE 2:
C Rotary Axis B Tilting Table:
For a CB machine with a full 360 deg rotary C axis but with a B axis which
tilts the table and is limited to a + angle of 90 degrees.
By standard convention C is about Z and B is about Y. Note that no limits are placed on the full rotary axis. The lines in output_format would look like
this:
five axis: active axis1= C axis2= B
config=1
axis angle limits: axis2_min= 0 axis2_max= 90
rotary C axis: available on shortest comp_type= A angle_addon= 0.0
rotary B axis: available on shortest comp_type= I angle_addon= 0.0
The macro rotary_vector would
be as follows:
# macro rotary_vector
#
#
# Macro for changing rotary axis vectors for five axis
#
# SET_ROTARY_ORIGIN Xcenter,Ycenter,Zcenter locate the pivot point for the
rotary axis.
# SET_ROTARY_AXIS Xvector,Yvector,Zvector are the coordinates for a vector
pointing in the direction of the rotary axis.
# SET_ROTARY_ORIENT Xvector,Yvector,Zvector are the coordinates for a vector
pointing in the direction which rotary axis and must turn to properly orient
relative to the tool.
#
ASSIGN: FiveAxisOn
# ROTARY B AXIS
ASSIGN: Rotary_axis= 2;
SET_ROTARY_ORIGIN: Xcenter= 0.0; Ycenter= 0.0; Zcenter= 0.0;
SET_ROTARY_AXIS: Xvector= 0.0; Yvector= 1.0; Zvector= 0.0;
SET_ROTARY_ORIENT: Xvector= 0.0; Yvector= 0.0; Zvector= 1.0;
# ROTARY C AXIS
ASSIGN: Rotary_axis= 3;
SET_ROTARY_ORIGIN: Xcenter= 0.0; Ycenter= 0.0; Zcenter= 0.0;
SET_ROTARY_AXIS: Xvector= 0.0; Yvector= 0.0; Zvector= 1.0;
SET_ROTARY_ORIENT: Xvector= 1.0; Yvector= 0.0; Zvector= 0.0;
Note that the C axis orientation vector points toward the positive X
direction. It is this direction which
would represent 0 degrees on the B axis.
The Orientation vector must be in a plane which is perpendicular to the
Axis vector.
To lock an axis in the TurboPost command file requires a line as follows. This line may also be used to change axis order or configuration.
FIVEAXISDATA: active axis1= A axis2= B config=0 locked1
FIVEAXISDATA: active locked1 locked2 this will lock axis1 and axis2
FIVEAXISDATA: active this will turn off axis locking.
If a rotary axis on a five axis machine has a full 360 degree range, it is possible that there are multiple methods of positioning the table for the tool to access the part. When the 360 degree table is mounted on another table, its angle may be either in one position or in a position 180 degrees out of phase. This is common in machines having CB or CA configurations. The following line inserted in the command file will force the 180 degree solution on axis 1.
FIVEAXISDATA: active invert1
Note that the word active must always appear on this line.
To change five axis angle limits in a TurboPost command file requires a line as follows:
AXISANGLELIMITS: axis1_min= -90 axis1_max= 90 axis2_min= -60 axis2_max= 60
The axis angle limits are used only for calculating destination angles. If the rotary tables are positioning between two
Angles and the shortest distance between them take the table out of the angle limits it is the users responsibility to add angular position moves to prevent this situation. Usually this will not happen if the angle limits subtend an angle less than 180 degrees.
When making continuous five axis cuts, it is important not to cross the angle limits. The rotary tables will then try to satisfy the angles by turning the table a full 180 degrees out of phase. This motion will almost certainly result in bad CNC code. The user must be careful not to ask the post processor to move the tool in ways which the configuration cannot handle.
The following commands can be used to change the rotary angle directions on a five axis machine:
ASSIGN: Rotary_axis=1; RotaryDirCW This will force the A axis to rotate CW.
ASSIGN: Rotary_axis=1; RotaryDirCCW This will force the A axis to rotate CCW.
ASSIGN: Rotary_axis=1; RotaryDirSD This will force the A axis to rotate shortest direction.
These commands may be used on any axis. On a four axis machine it is not necessary to specify the axis.