Mode 1: Inclusion of the spindle into the path compound
This "basic mode" is especially necessary for the C-axis machining on lathe because in this case the position controlled spindle has to be converted into a rotary axis (e.g "C").
On milling machines and machining centers, which have rotatory workpiece fixture (e.g. revolving base), also a C-axis maching is possible. In this case the selection of mode 1 (#CAX) is not necessary. |
The three physical axes X or Y, Z and C can be programmed directly. The linear axes in Cartesian coordinates and the C-axis in angle units.
Radius / diameter programming depends on G52 / G51.
The two linear axes define the main plane.
ZX (G18) or YZ (G19).
#CAX [ [ [<main_spindle_name>, ] <C-axis_name> ] ]
<main_spindle_name> Only the main spindle name can be programmed in accordance with[1]-18. If a spindle other than the C-axis is used, this must be declared the main spindle first (see Programming example or Chapter). Otherwise an error message is output.
<C-axis_name> Freely definable name of the C-axis in the NC-program. If no C-axis name is programmed, the default name from[1]-23 is used.
The main plane (circular interpolation, tool radius compensation, etc.) is just the same as before when activating the C-axis.
An error will be generated if a command for this spindle (M3, M4, M5, etc.) is programmed before canceling the conversion.
The C-axis is converted again into spindle interpolator by:
#CAX OFF
Programming example
:
#CAX (Assumption: default C axis is C)
G01 G90 X50 Z10 C90 F200
#CAX OFF (Deselection C-axis mode)
...
#CAX[S, C] or #CAX[C] (Assumption: main spindle is S)
G01 G90 X50 Z10 C90 F200
#CAX OFF
...
#MAIN SPINDLE [S2] (S2 becomes the new main spindle S)
#CAX[S, C] (Selection C-axis mode)
G01 G90 X50 Z10 C90 F200
...
#CAX OFF (Deselection C-axis mode)
...
#CAX[S3, C] (Error, S3 is not a main spindle)