News

Dependability through comprehensive manufacturing capabilities

Common 6 Types Instruction Code List of CNC Lathe

To maximize the work efficiency for CNC lathe, in addition to the machine's quality and performance, it is equally important to correctly use the programs.

Each processing program contains a series of complete actions. Meanwhile, in each section, you can assess the needs and write in the related instructions, such as single section number, preparation function, processing coordinate value, auxiliary function, rotating speed function, and tool function.

Please follow the instruction code list to finish your own processing program.

[Basic instruction code]
Txxx Tool number call and tool compensation value.
M3 Spindle CW, M4 Spindle CCW
M17 Chuck close, M18 Chuck open
M19 Spindle orientation, M20 Cancel spindle orientation
M30 Program end, M99 Program rewind

[Preparation Function]
G00 Rapid traverse
G01 Linear interpolation, G02 Clockwise arc cutting, G03 Counter-clockwise arc cutting
G04 Time pause, G28 Automatic origin return
G32 Thread cutting

[Correction and Offset]
G40 Cancel offset of R angle of nose of tools, G50 Define the maximum spindle speed
G41 Tool radius/tool nose radius compensation to the left, G41 Offset left hand side of R angle of nose of tools

[Compound Cycle]
G71 Multiple repetitive cycle, for roughing, G70 Multiple repetitive cycle, for finishing, G72 Multiple repetitive cycle, for roughing, G73 Multiple repetitive cycle, for roughing, G76 Thread cutting of compound cycle

[Fixed cutting cycle]
G90 Simple cycle, for roughing, G92 Threading cycle, simple cycle, G94 Fixed cycle, simple cycle, for roughing

[Rotation Speed]
G96 Constant surface speed (CSS), G97 Constant spindle speed


Common 6 Types Instruction Code List of CNC Lathe
Top