Sunteți pe pagina 1din 4

G0

0
G0
1
G0
2
G0
2
G0
3
G0
3
G0
4
G1
0
G1
1
G1
7
G1
8
G1
9
G2
0
G2
1
G2
8
G2
9
G3
0
G4
0
G4
1
G4
2
G4
3
G4
4
G4
9
G4

Rapid linear move . Example: G00 X## Y## Z## (X,Y,Z = position)
Feed linear move Example: G01 F## X## Y## Z## (F=feedrate to
move at)
Circular move CW. Example: G02 X## Y## I## J## (XY=end point,
IJ=center point)
Circular move CW. Example: G02 X## Y## R## (R=size of radius arc
to swing. R+ if radius < 180, R- if radius is > 180)
Circular move CCW. Example: G03 X## Y## I## J## (XY=end point,
IJ=center point)
Circular move CCW. Example: G03 X## Y## R## (R=size of arc radius
to swing. R+ if radius < 180, R- if radius is > 180)
Dwell time. Example: G04 P## (P=time to dwell. P20000 is 2 seconds)
Zero offset shift. Example: G10 X## Y## Z##(X=shift dist. Y=shift dist.
Z=shift dist.)
Zero offset shift cancel. Example: G11
Contour plane is XY (Z = spindle) . Example: G17
Contour plane is ZX (Y = spindle). Example: G18
Contour plane is YZ (X = spindle). Example: G19
Inch mode (G70 on older controls). Example: G20
MM mode (G71 on older controls). Example: G21
Return to reference point. Example: G0 G91 G28 X## Y## Z##
(Go to machine XYZ home,passing thru XYZ incremental zero)
Return from reference point. Example: G0 G90 G29 X## Y## Z##
(Go to this XYZ position, returning from home)
Return to 2nd, 3rd (ect..) reference point. Example: Similar to G28
Cutter (dia.or rad.) compensation off. Example: G40 X## Y##
Cutter compensation to the left of the programmed path. Example: G40
X## Y##
Cutter compensation to the right of the programmed path . Example:
G40 X## Y##
Tool length compensation with spindle approach from + side. Example:
G43 H## Z##
Tool length compensation with spindle approach from - side. Example:
G44 H## Z##
Tool length compensation cancel. Example: G49
Increase end position by tool offset value. Example: G45 X## D## (Go

5
G4
6
G4
7
G4
8
G5
3

to X position, plus offset value in D##)


Decrease end position by tool offset value. Example: G46 X## D## (Go
to X position, less offset value in D##)
Increase end position by twice the offset value. Example: G47 X## D##
(Go to X position, plus 2x the offset value)
Decrease end position by twice the offset value
Example: G48 X## D## (Go to X position, less 2x the offset value)
Coordinate system referenced from machine home. Example: G53 X##
Y## Z## (Go to this XYZ position referenced from machine home)

G5
4
G5
5G5
9
G0
9
G6
1

Work coordinate shift,offset #1. Example: G54 X## Y## Z##


(Go to this XYZ position referenced from WCS #1)
Work coordinate shift,offset G55-G59. Example: G5# X## Y## Z##
(Go to this XYZ position referenced from WCS G55-G59)

G6
4
G6
3
G6
2

Exact stop positioning move Example: G09 F## X## Y## Z## (active
for single block only)
Exact stop cutting mode
example: G61 X## Y## Z## (Decelerated at point XYZ, before next
move)
Exact stop mode off. Example: G64 X## Y## Z## (Tool is not
decelerated at point XYZ)
Feed overide lock out. Example: G63 X## Y## Z##
Feed compensation on inner corner. Example: G62 G02 X## Y## I##
J##

G8
1
G8
2
G8
3
G8
4
G8
5,
G8
6,
G8
7,
G8
8,
G8
9
G9
0
G9
1
G9
2

G9
4
G9
5
G9
6

G9
7
G9
8

Basic drilling cycle - Feed in , rapid out. Example: G81 X## Y## Z##
R## F##
Counter bore cycle - Feed in, dwell, rapid out. Example: G82 X## Y##
Z## R## F## P####
Peck drilling cycle - Feed in peck amount, rapid out, rapid in within .050
of last peck & repeat until depth is reached. Example: G83 X## Y##
Z## R## F## Q##
Tapping cycle - Feed in, spindle stop, reverse, feed out.
(note: this cycle will vary depending on the machine mfgr.)
Example: G84 X## Y## Z## R## F##
Boring cycles. Function & imput will vary depending on the machine
mfgr. Variations include....
Feed in, feed out.
Feed in, dwell, feed out.
Feed in, dwell, spindle stop, rapid out.
Feed in, dwell, spindle stop, move insert from wall, rapid out.
Rapid in, dwell, start spindle, feed up, dwell, rapid down, dwell
(reverse counter boring, back facing, back boring cycle).

Absolute coordinate positioning. Points based from XYZ zero.


Example: G90 G00 X## Y## Z##
Incremental coordinate positioning. Point to point positioning.
Example: G91 G00 X## Y## Z##
Absolute Zero Pre-Set - An old format used to set XYZ Zero.
The current position is set to the values shown in the line.
Example: G92 X10 Y5 Z-3
After running this command the current
position is X10 Y5 Z-3.
Very strange way to shift zero's. Avoid this code if you can.
Feedrate is read as Inches/Minute. Used mostly for milling.
Example: G94
G01 X## Y## Z## F##
Feedrate is read as Inches/revolution. Used mostly for turning.
Example: G95
G01 X## Y## Z## F##.###
Constant surface speed (CSS) control (lathe). Increases the RPM as the
tool moved closer to the center line of the part (smaller diameter). This
keeps the amount of material (chip load) moving past the tip of the tool
constant for and improved tool load, tool wear and surface finish. In the
example below, the control will do an internal calculation to keep the tool
moving at 200 surface feed/second.
example: G96 S200
The opposite of constant surface speed control (G96).
example: G97
Retract the tool to the starting Z height when drilling. Used for high
retrect clearance moved between drilled holes. Assume Z is currently at

G9
9

Z+1.0. Running the line below will rapid to the R plane, drill to the Z
depth and return to the starting height of Z+1.00 when the cycle is
finished.
example: G98 G81 X## Y## Z-.875 R.100 F##
Retract the tool to the R plane when the drilling cycle is finished.
Regardless of the starting height, the tool will return to Z.100 (the Rplane
shown below).
example: G99 G81 X## Y## Z-.875 R.100 F##

S-ar putea să vă placă și