Lateral surface machining (#CYL)

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.

Lateral surface machining
Lateral surface machining

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.

#CYL [ <1st main_axis_name>, <2nd main_axis_name>, <3rd main_axis><expr>]    (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><expr>

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. It is not permitted to change the main plane by G18, G19 while lateral surface machining is active.

Notice

notice

Programmed tracking axes are not affected by the transformation.

This mode is deselected by:

#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

prg_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       ;approach 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