Face machining (#FACE, #FACE OFF)
This mode is selected for lathes and machining centres. The desired contour on the face is programmed in millimetres or inches using a virtual Cartesian coordinate system.
Notice
As of CNC build V3.00, the parameter P-CHAN-00262 must be assigned with the kinematic ID used, depending on P-CHAN-00008, in order to perform face machining applications.
- For face transformation 1 with P-CHAN-00008=1 - ID 13
- For face transformation 2 with P-CHAN-00008=2 - ID 14
The three logical axes X, Y (or C) and Z are provided to program the contour on the face in Cartesian coordinates.
The figure below shows each of the main planes in face machining. Only the G17 plane is of technological importance.
Syntax: |
#FACE [ <name 1. main_axis>, <name 2. main_axis> ] |
<name of 1st main axis> | Name of the first main axis according to the current main plane. |
<name of 2nd main axis> | Name of the second main axis according to the current main plane (virtual Cartesian axis). |
When selected. the main plane (circular interpolation, tool radius compensation, etc.) is always defined by the 1st and 2nd main axes (G17). It is not permitted to change the main plane with G18, G19 while face machining is active.
Notice
Programmed tracking axes are not affected by the transformation.
This mode is deselected by:
Syntax: |
#FACE OFF |
The above command returns to the last active mode (e.g. mode 1). This means that the last active main plane is selected automatically and the last active axis offsets are restored.
Programing Example
Programming example for lathes
Example with axis name "C" for second main axis. main axis
;…
#CAX[S, C] ; Assuming: main spindle is "S"
#FACE[X, C] ; select face machining
;…
G01 X40 C-30 Z50 F1000 ; pre-position
G01 Z30 ; approach
G01 X10 C40 ; travel contour
G01 Z50 ; retract
;…
#FACE OFF
#CAX OFF
;…
M30
Example with axis name "Y" for second main axis. main axis.
Note: No other axis with the identical name "Y" may exist in NC channel.
;…
#CAX[S, Y] ; Assuming: main spindle is "S"
#FACE[X, Y] ; select face machining
;…
G01 X40 Y-30 Z50 F1000 ; pre-position
G01 Z30 ; approach
G01 X10 Y40 ; travel contour
G01 Z50 ; retract
;…
#FACE OFF
#CAX OFF
;…
M30
Programing Example
Programming example for machining centres
The rotary axis (workpiece axis) in the channel is "C2". It is not necessary to program the #CAX command.
;…
#FACE[X, C2] ; select face machining
;…
G01 X40 C2=-30 Z50 F1000 ; pre-position
G01 Z30 ; feed
G01 X10 C2=40 ; travel contour
G01 Z50 ; retract
;…
#FACE OFF
;…
M30