Basic Information of CNC Program
Basic Information of CNC Program
CNC PROGRAM
HOW CNC WORKS
operations.
N08 G01 Z-0.5 F40 BLOCK EXAMPLE - NØ8Ø GØ1 Z-Ø.5 F4Ø
ADDRESS EXAMPLE - G
Addresses
Address Refers to
N refers to the block umber.
G refers to the G code (Preparatory function).
X refers to the absolute/incremental distance travelled by the slide tool
in the X axis direction.
Y refers to the absolute/incremental distance travelled by the slide tool
in the Y axis direction.
Z refers to the absolute/incremental distance travelled by the slide tool
in the Z axis direction.
F refers to the feed rate.
M refers to the M code (Miscellaneous function).
S refers to the spindle speed.
T refers to the tooling management.
Each
Coordinates System
Absolute Coordinates:(G90)
The addresses X, Y and Z within a program, when G90 (Absolute
co-ordinates) is active, relate to a coordinate position from the
work piece datum (the zero position).
Coordinates System
Example :
Coordinates System
Incremental Coordinates:(G91)
The addresses X, Y and Z within a program, when G91
(Incremental co-ordinates) is active, relate to the individual axis
movements required to reach the new position, from the last
position reached by the tool.
Coordinates System
Example
G Codes
Preparatory Functions
Rapid Positioning (G0)
The G0 code executes a non cutting movement, at a rapid feed rate, to a
specific co-ordinate position. A G0 command is written in the following
format:
G0 X _ _ _ _ Y_ _ _ _ Z _ _ _ _ ;
Liner Interpolation (G01)
The G01 code executes a cutting movement following a straight line, at
a set feed rate.
G01 X _ _ _ _ Y_ _ _ _ Z _ _ _ _ ;
Circular Interpolation (G02,G03)
The G02 code executes a cutting movement following a clockwise
circular path, at a set feed rate.
The G03 code executes a cutting movement following a
counterclockwise circular path, at a set feed rate
Table of Important G codes
G0 Rapid Transverse
G01 Linear Interpolation
G02 Circular Interpolation, CW
G03 Circular Interpolation, CCW
G17 XY Plane,G18 XZ Plane,G19 YZ Plane
G20/G70 Inch units
G21/G71 Metric Units
G40 Cutter compensation cancel
G41 Cutter compensation left
G42 Cutter compensation right
G81 Drilling cycle
G82 Counter boring cycle
G83 Deep hole drilling cycle
G90 Absolute positioning
G91 Incremental positioning
Table of Important M codes
M00 Program stop
M01 Optional program stop
M02 Program end
M03 Spindle on clockwise
M04 Spindle on counterclockwise
M05 Spindle stop
M06 Tool change
M08 Coolant on
M09 Coolant off
M30 Program stop, reset to start
Automatic Part Programming
AUTOMATIC GENERATION OF CNC PROGRAMS THROUGH SOFTWARE
Define Tool
CNC data
Make 3D model
Simulate
cutting
THANK YOU