Escolar Documentos
Profissional Documentos
Cultura Documentos
Letters
Code
Meaning
G00
G01
G02
Letter
Meaning
Circular Interpolation CW
G03
G04
Dwell
G17
G18
Preparatory commands
G19
G20
Input in Inch
G21
Input in MM
G28
G40
G41
Miscellaneous function
G42
G43
Program Number
G44
G81
G82
G83
G85
Bore
G90
Absolute Programming
G91
Incremental Programming
Tool function
G92
G94
IPM Programming
G95
IPR Programming
M00
Program stop
M01
Optional stop
M02
End of Program
M03
M04
M05
Spindle off
M06
Tool change
M08
Coolant on
M09
Coolant off
M30
M98
Sub-Program call
M99
G Codes
- G Codes are known as Preparatory
Commands which means they are
preparing the CNC machine to do
something.
- Normally there should only be one G
code per line, one exception is in the
Safety Line at the beginning of the
program.
- G Codes are to be at the start of the
Block of Program.
- Antonym=Non-modal
G04 Dwell
G41 Cutter
Compensation
Left
-Cutter compensation is used to program
a part exactly to size using the
dimensions provided on the print.
THEN at the machine, offset that
geometry to compensate for the tool you
are using
- Imagine climb milling around the
outside of this picture the cutter would
be rotating clockwise and moving around
the picture clockwise, now guess which
side of the part the cutter is. Your
G42 Cutter
Compensation
Right
- Just like the G41 compensation only
the opposite. Imagine conventional
milling the same outside of this picture,
the cutter is still spinning clockwise but
this time the cutter is traveling
counterclockwise around the outside of
the part.
NOW which side of the part is the cutter
traveling on? You are right the Right
side!
Hole Position
R-Plane
Z Depth
Feedrate
given depth
- Along with the G82 you will also need
to specify the following:
-
Hole Position
R-Plane
Z Depth
Feedrate
Dwell time
Hole Position
R-Plane
Z Depth
Feedrate
Peck Increment
Example:
G00
G00
G01
G00
G00
G01
G00
X2.00 Y3.00
Z.100
Z-.150 F6.0
Z.1
Z-.150
Z-.400
Z.1
G01
G00
G00
G01
G00
G00
G01
G00
Z-.650
Z.100
Z-.650
Z-.900
Z.100
Z-.900
Z-1.150
Z.100
given depth
- Does NOT fully retract after each peck
depth
- Along with the G73 you will also need
to specify the following:
-
Hole Position
R-Plane
Z Depth
Feedrate
Peck Increment
Hole Position
R-Plane
Z Depth
Feedrate = RPM X Lead of the thread
-
Hole Position
R-Plane
Z Depth
Feedrate
Asysteminwhichthelocationofapointisgiven
bycoordinatesthatrepresentitsdistancesfrom
perpendicularlinesthatintersectatapointcalled
theorigin.
G90 Absolute
Programming
The Origin or Datum location of your
G91 Incremental
Programming
The Origin or Datum location of your
M Codes
- M Codes are known as
Miscellaneous Functions.
- Normally there should only be one M
code per line. Most machines are really
picky about this, more so than with G
codes.
- M Codes are to be at the start of the
Block of Program.
Example: M03 S1500
Example: M02
%
Example: M05
Example: M07
Example: M08
Example: M09
Example: M99
%