Docsity

Select NC Codes and Syntax - Lecture Notes | ISYE 350, Study notes of Manufacturing Processes

Toggle sidebar
bg1
Selected NC Codes and Syntax
Interpolation (Axes Movements) (MODAL)
Moving the cutting tool in lines or arcs is achieved by interpolation between the start and end points. The
start point is whatever XYZ position the tool is in just before the command. I, J, K, X, Y, Z, and F values
must include a decimal point.
G00 X Y Z Rapid traverse: Move as fast as possible to X,Y,Z (not necessarily a straight line).
Do Not use for cutting, only positioning the tool outside the material.
G01 X Y Z F Linear Interpolation: Move from start position to X,Y,Z in a straight line,
at Feedrate of F inches/minute.
G02 X Y Z I J K F Clockwise Circular interpolation: Move from start position to X,Y,Z along a
clockwise arc, at a Feedrate of F. Relative to the start point, the arc center is
defined by the vector Ii + Jj + Kk
G03 X Y Z I J K F Counterclockwise Circular interpolation: Move from start position to
X,Y,Z along a clockwise arc, at a Feedrate of F. Relative to the start point, the
arc center is defined by the vector Ii + Jj + Kk
Haas Automation Programming Workbook, 2006
Miscellaneous Codes (M Codes)
Only one M code should be specified per NC block, and it should not be placed with a G code.
M03 Spindle Motor On. E.g.: S1500 M03
M05 Spindle Motor Off.
M06 Tool Change: Pause, turns off and retracts spindle. E.g.: T2 M06
M30 End of Program and reset to beginning.
NC Word Order
(N) G X Y Z I J K F S T M
Line Motion Endpoint Relative Feedrate Spindle Tool Misc.
Number Function Coordinates Arc Center Speed Number Function
(Optional)
Other Codes
(…) Comment
; End of block

Partial preview of the text

Download Select NC Codes and Syntax - Lecture Notes | ISYE 350 and more Study notes Manufacturing Processes in PDF only on Docsity!

Selected NC Codes and Syntax Interpolation (Axes Movements) (MODAL) Moving the cutting tool in lines or arcs is achieved by interpolation between the start and end points. The start point is whatever XYZ position the tool is in just before the command. I, J, K, X, Y, Z, and F values must include a decimal point. G00 X Y Z Rapid traverse: Move as fast as possible to X,Y,Z (not necessarily a straight line). Do Not use for cutting , only positioning the tool outside the material. G01 X Y Z F Linear Interpolation: Move from start position to X,Y,Z in a straight line, at Feedrate of F inches/minute. G02 X Y Z I J K F Clockwise Circular interpolation: Move from start position to X,Y,Z along a clockwise arc, at a Feedrate of F. Relative to the start point , the arc center is defined by the vector I i + J j + K k G03 X Y Z I J K F Counterclockwise Circular interpolation: Move from start position to X,Y,Z along a clockwise arc, at a Feedrate of F. Relative to the start point , the arc center is defined by the vector I i + J j + K k Haas Automation Programming Workbook , 2006 Miscellaneous Codes (M Codes) Only one M code should be specified per NC block, and it should not be placed with a G code. M03 Spindle Motor On. E.g.: S1500 M M05 Spindle Motor Off. M06 Tool Change: Pause, turns off and retracts spindle. E.g.: T2 M

M30 End of Program and reset to beginning.

NC Word Order (N) G X Y Z I J K F S T M Line Motion Endpoint Relative Feedrate Spindle Tool Misc. Number Function Coordinates Arc Center Speed Number Function (Optional)

Other Codes

(…) Comment ; End of block