1. G AND M CODES
In CNC “CODES” are define in two types.
G – Codes (Programming Codes)
M – Codes ( Miscellaneous / Machining Codes)
2. Multimedia Courseware G-
Commands. G00 Positioning (Rapid Traverse)
G01 Linear Interpolation (Feed
G02 Circular Interpolation Clockwise
G03 Circular Interpolation Counter clockwise
G04 Dwell
G15 XY Plane Selection
G16 XZ Plane Selection
G17 XY Plane Selection
G18 XZ Plane Selection
G19 YZ Plane Selection
G20 Measuring in Inches
G21 Metrical Measuring
G28 Return to Reference Pint
G40 Cancel Cutter Radius Compensation
G41 Cutter Radius Compensation Left
G42 Cutter Radius Compensation Right
G43 Tool Length Compensation positive
G44 Tool Length Compensation negative
G49 Cancel Tool Length Compensation
G50 Cancel Scale Factor
G51 Scall Factor
G52 Local coordinate System
G53 Machine Coordinate System
G54 Zero Offset (Work Offset) 1
G55 Zero Offset (Work Offset) 2
G56 Zero Offset (Work Offset) 3
G57 Zero Offset (Work Offset) 4
G58 Zero Offset (Work Offset) 5
G59 Zero Offset (Work Offset) 6
3. Multimedia Courseware G-
Commands.
G68 Coordinate System Rotation ON
G69 Coordinate System Rotation OFF
G73 Chip Break Drilling Cycle
G74 Left Tapping Cycle
G80 Cancel Drilling Cycle
G81 Drilling cycle
G82 Drilling Cycle with Dwell
G83 Chip Removal Drilling Cycle
G84 Tapping Cycle
G85 Reaming Cycle
G90 Absolute Programming
G91 Incremental Programming
G92 Spindle Speed Limit
G94 Feed Rate in Minutes
G95 Feed Rate in Revolutions
G97 Spindle Revelation per minute
G98 Retraction to Start Plane
G99 Retraction to withdrawal plane
4. Multimedia Courseware M
Commands
M00 Programmed Stop Unconditional
M01 Programmed Stop Conditional
M02 Main Program End
M03 Main Spindle ON Clockwise
M04 Main Spindle ON Counter clockwise
M05 Main Spindle Off
M06 Tool Change
M08 Coolant ON
M09 Coolant OFF
M10 Lock Dividing Head
M11 Unlock Dividing Head
M25 Open Clamping Device
M26 Close Clamping Device
M30 Program End
M98 Subprogram Call
M99 Subprogram End, Jump Instruction
Description of M Commands
5. TYPE OF PROGRAMMING
Face Milling
Contour Milling
Polar coordinate
Pocket
Mirror
Rotation
Scall
Drilling
Reaming
Taping
Threading
Multimedia Courseware Drawing with Program
6. Multimedia Courseware Drawing with Program
• Drawing with Face Milling Program Single Pass
• Drawing with Face Milling Program multi passes
• Drawing with Contour Milling Program Single Pass
• Drawing with Contour Milling Program multi Passes
• Drawing with Polar coordinate Milling Program single pass
• Drawing with Polar coordinate Milling Program multi Passes
• Drawing with Rectangle Pocket Program Single Pass
• Drawing with Rectangle Pocket Program multi Passes
• Drawing with Circular Pocket Program Single Pass
• Drawing with Circular Pocket Program multi Passes
• Drawing with Mirror Program
• Drawing with Rotation Program
• Drawing with Scall Program
7. Multimedia Courseware Drawing with Program
• Drawing with Drill Program
• Drawing with Deep hole drilling program (Chip breaking)
• Drawing with Deep hole drilling program (Chip Removal)
• Drawing with Reaming Program
• Drawing with Taping Program
• Drawing with Threading Program
• Drawing with Micro Program