In this post, I will tell you the layout of CNC turning which will help you in writing CNC turning programs. This which i am going to tell you the layout is based on CNC turning Fanuc.
Layout OF CNC Program
HEADER | ||
[BILLET X25.0 Z60.0; | ⇒ | {Size of row material} |
G99 G21 G40; | ⇒ | {Setting cutting condition} |
G28 U0 W0; | ⇒ | {Reference point return} |
M03 s1000; | ⇒ | {Spindle rotation & Spindle speed} |
M06 T0101; | ⇒ | {Tool call} |
BODY | ||
G00 X25.0 Z2.0; | ⇒ | {Positioning} |
——————- | ⇒ | {Path Definition |
——————- | ⇒ | or cycle utillity |
——————- | ⇒ | or subrouting utillity} |
END | ||
G28 U0 W0; | ⇒ | {Return to reference point} |
M30; | ⇒ | {End of program} |
♦ Instruction of program
♦ Types of instructions
- Movement Instructions
G00, G01, G02, G03
- Machine Instructions
M03, M04, M05, M06, M30
- Tool Instructions
T0101
- Technological Instructions
Cutting speed
Spindle speed
- Dimensional Instructions
Metric (mm)
Inch