CNC Lathe | G50.2 and G51.2 | Polygon Turning

In this article, we describe G50.2 and G51.2 Polygon Turning commands for CNC Lathe machines with all details and examples.


Polygon Turning Introduction

When rotating the workpiece and a tool at a certain ratio, a polygonal figure can be machined.

For example, by changing conditions such as rotation ratio of workpiece and tool as well as the number of cutters, a square or hexagon can be machined. Under certain circumstances, the machining time can be reduced compared to machining using C and X axis in polar coordinate interpolation.

You may be interested also:
“CNC | G98 and G99 Code | Return Point Level”

Due to the nature of such kind of machining however, the machined figure is not exactly polygonal. Typical applications are the heads of square and/or hexagon bolts or nuts.

Hexagon bolt

G50.2 and G51.2 Format

G51.2 P…Q…;
P, Q: Rotation ratio (spindle / Y axis)
Setting range: Integer 1 to 9 for both P and Q
The sign of address Q is used to specify the Y axis rotation direction.

G50.2 and G51.2 Examples

Program Example – 1 – G50.2 and G51.2

G00 X120.0 Z30.0 S1200.0 M03; set workpiece rotation speed to 1200 rmp
G51.2 P1 Q2 ; start tool rotation (2400 rpm)
G01 X80.0 F10.0 ; X axis infeed
G04 X2. ;
G00 X120.0 ; X axis retract
G50.2 ; stop tool rotation
M05 ; Spindle stop

G50.2 and G51.2 need to be specified in seperate blocks.

Polygonal turning

Need to More?

Our volunteers have worked together and carefully prepared the articles published here in their native language without using machine translation. You can search the entire site for more information on the subject. You can start a discussion on forums and join us to get support, ask questions, improve a published article or give your opinion.

Previous articleSiemens CNC | RET Code | Subprogram Return Jump
Next articleAXILE G6 is honored for grand award in industry days


Comments are closed.