0% found this document useful (0 votes)
155 views1 page

CNC Programming Code Guide

This document lists and describes standard NC programming codes according to ISO and RS274 standards. It includes G-codes for linear, circular and thread cutting motions as well as M-codes for functions like spindle control, tool changes, and program stops. All machine-specific M-code functions are configured in the PLC application rather than having fixed assignments.

Uploaded by

dhananjay176
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
155 views1 page

CNC Programming Code Guide

This document lists and describes standard NC programming codes according to ISO and RS274 standards. It includes G-codes for linear, circular and thread cutting motions as well as M-codes for functions like spindle control, tool changes, and program stops. All machine-specific M-code functions are configured in the PLC application rather than having fixed assignments.

Uploaded by

dhananjay176
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Standard NC Programming Codes

NC Programming as per ISO (DIN 66025) and RS274

G00 G01 G02/G03 G04 G07 G08/G09 ahead" function G10/G11 G12/G13 G17-G20 G33 G36/G37 G38/G39 G40-G44 G50 G51/G52 G53-G59 G63/G66 G70/G71 G72/G73 G74 G80-G89 G90/G91 G92 G94/G95 G160-G164 G186 M00 M01 M02/M30 M03/M04/M05 M06 M19 M40-M46

Rapid traverse Linear interpolation Circular interpolation Dwell Tangential circle interpolation Path control mode (ramp at block transitions) and "Adaptive Look Block pre-processing control Circular interpolation with radius input Plane selection Thread cutting/rigid tapping Programmable feedrate limitation Mirror image Tool radius compensation Scaling Part rotation Zero offsets Programmable feed rate/spindle speed override Inch/metric dimensioning Interpolation with in position stop Home position Canned cycles Absolute/incremental programming Position register preset Feedrate ART learning function Programmable tolerance band Program stop Optional stop End of program Spindle control (cw/ccw/stop) Tool change (M-code depends on PLC) Spindle orientation Spindle gear transmission steps

All of the machine-specific functions have the M-code value configured in the PLC application. Some of the M-codes, like M06 for a tool change and M07-M09 for coolant control, have typical assignments in many controls. However this control does not require specific assignments. Therefore, a machine function like the tool change does not have to be M06. The spindle control M-codes (3-5, 19, 40-46) also have configurable assignments.

You might also like