Surface machining (#CYL, #CYL OFF)
This mode can be selected for lathes and machining centres. The desired contour on the cylindrical surface is programmed in millimetres or inches using a virtual coordinate system.
Notice
As of CNC build V3.00, the parameter P-CHAN-00262 must be assigned with the vale 15 for this transformation in order to perform lateral surface machining applications.
The three logical axes X, Y, Z are provided to program the contour on the lateral surface in Cartesian coordinates. In this mode, the reference radius R of the workpiece must also be programmed.
The main plane in lateral surface machining is formed by Z-C.
Syntax: | |
#CYL [ <1st_main_axis_name>, <2nd_main_axis_name>, <3rd_main_axis_main> etc.] | modal |
<1st_main_axis_name> | Name of the first main axis according to the current main plane. |
<2nd main_axis_name> | Name of the second main axis according to the current main plane (virtual linear axis, development). |
<3rd_main_axis_name>. | Axis name of the third main axis according to the current main plane with specification of the reference radius in [mm, inch]. |
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 by G18, G19 while lateral surface machining is active.
Notice
Programmed tracking axes are not affected by the transformation.
This mode is deselected by:
Syntax: |
#CYL 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 “S” is main spindle
G01 X60 C45 ;feed and positioning movement; X:60mm C:45°
#CYL [Z, C, X60] ;select lateral surface machining
G00 G90 Z0 C0 ;Z: 0mm C:0mm!
G01 C100 F500
G02 Z100 R50
G01 C0
Z0
;…
#CYL OFF
#CAX OFF
M30