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.
![]() | 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. |
Depending on the machine type, the three logical axes X, Y, Z are provided to program the contour in Cartesian coordinates on the lateral surface. As a general rule, the Y axis is not present on lathe-only machines. The workpiece radius must also be included in the programming as reference radius R.
|
The main plane in lateral surface machining is formed by Z-C.
Lateral surface machining in G17
An axis configuration Z-C is formed by specifying the first and second main axes with #CYL [...]. This implicitly defines a main plane in G17. The reference radius must also be specified.
Syntax: |
#CYL [ <1st_main_axis_name>, <2nd main_axis_name>, <3rd_main_axis_name>..] |
<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]. |
![]() | Programmed tracking axes are not affected by the transformation. It is not permitted to change the main plane with G18, G19 while lateral surface machining is active |
This mode is deselected by:
Syntax: |
#CYL OFF |
Use #CYL OFF to revert to the previously active state. This means that the last active main plane is selected automatically and the last active axis offsets are restored.
Programming Example
Programming example for lathes, programming in G17 with Z-C
Example with axis name "C" for 2nd main axis
Lateral surface machining in G19
Use #CYL LATERAL [...] to create an axis configuration which, in combination with G19, allows programming in the virtual coordinate system C-Z. The reference radius must also be specified.
Syntax: |
#CYL LATERAL [ RADIUS=.. ] |
RADIUS=.. | Specify reference radius in [mm, inch]. |
![]() | Programmed tracking axes are not affected by the transformation. After #CYL LATERAL, the use of G17 or G18 is also permitted; this may be necessary for special machining cases. |
This mode is deselected by:
Syntax: |
#CYL OFF |
Use #CYL OFF to deselect lateral surface machining and restore the previously active axis configuration with the associated axis offsets. The currently valid main plane remains active.
Programming Example
Programming examples for lathes, programming in G19 with C-Z

