GCodes Flashcards

Learn them all

1
Q

What are Modal Codes?

A

Commands that cause the machine to change from one mode to another, remaining active until changed by another command.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are Non-modal Codes?

A

Codes that only affect the lines on which they occur.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are Modal Groups?

A

Sets of modal commands where only one member may be in force at any given time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What commands are included in Group 1?

A

Motion commands including G0, G1, G2, G3, G80, G81, G82, G83, G84, G85, G86, G87, G88, G89.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What commands are included in Group 2?

A

Plane selection commands including G17, G18, G19.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What commands are included in Group 3?

A

Distance mode commands including G90, G91.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What commands are included in Group 5?

A

Spindle speed mode commands including G93, G94.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What commands are included in Group 6?

A

Units commands including G20 (inches) and G21 (millimeters).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What commands are included in Group 7?

A

Cutter diameter compensation commands including G40, G41, G42.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What commands are included in Group 8?

A

Tool length offset commands including G43, G49.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What commands are included in Group 10?

A

Return mode in canned cycles commands including G98, G99.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What commands are included in Group 12?

A

Coordinate system selection commands including G54, G55, G56, G57, G58, G59, G59.1, G59.2, G59.3.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What commands are included in Group 2 (M codes)?

A

Axis clamping commands including M26, M27.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What commands are included in Group 4?

A

Stopping commands including M0, M1, M2, M30, M60.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What commands are included in Group 6 (M codes)?

A

Tool change command including M6.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What commands are included in Group 7 (M codes)?

A

Spindle turning commands including M3, M4, M5.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What commands are included in Group 8 (M codes)?

A

Coolant commands including M7, M8, M9.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What commands are included in Group 9?

A

Feed and speed override bypass commands including M48, M49.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What is G1?

A

A G code for straight move that will be executed again unless a different motion command is given.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What is G4?

A

A non-modal code that causes a dwell.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What are Coolant Commands?

A

Modal commands that remain active until explicitly turned off.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What is G00?

A

Rapid Motion

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What is G01?

A

Linear Interpolation Motion

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What is G02?

A

CW Interpolation Motion

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What is G03?
CCW Interpolation Motion
26
What is G04?
Dwell
27
What is G09?
Exact Stop
28
What is G10?
Set Offsets
29
What is G12?
CW Circular Pocket Milling
30
What is G13?
CCW Circular Pocket Milling
31
What is G17?
XY Plane Selection
32
What is G18?
ZX Plane Selection
33
What is G19?
YZ Plane Selection
34
What is G20?
Select Inches
35
What is G21?
Select Metric
36
What is G28?
Return To Reference Point
37
What is G29?
Return From Reference Point
38
What is G31?
Feed Until Skip (optional)
39
What is G35?
Automatic Tool Diameter Measurement (optional)
40
What is G36?
Automatic Work Offset Measurement (optional)
41
What is G37?
Automatic Tool Offset Measurement (optional)
42
What is G40?
Cutter Comp Cancel
43
What is G41?
2D Cutter Compensation Left
44
What is G42?
2D Cutter Compensation Right
45
What is G43?
Tool Length Compensation +
46
What is G44?
Tool Length Compensation -
47
What is G47?
Text Engraving
48
What is G49?
G43/G44/G143 Cancel
49
What is G50?
G51 Cancel
50
What is G51?
Scaling (optional)
51
What is G52?
Set Work Coordinate System G52 (Yasnac)
52
What is G52?
Set Local Coordinate System G52 (Fanuc)
53
What is G52?
Set Local Coordinate System (HAAS)
54
What is G53?
Non-Modal Machine Coordinate Selection
55
What is G54?
Select Work Coordinate System 1
56
What is G55?
Select Work Coordinate System 2
57
What is G56?
Select Work Coordinate System 3
58
What is G57?
Select Work Coordinate System 4
59
What is G58?
Select Work Coordinate System 5
60
What is G59?
Select Work Coordinate System 6
61
What is G60?
Unidirectional Positioning
62
What is G61?
Exact Stop Modal
63
What is G64?
G61 Cancel
64
What is G65?
Macro Subroutine Call (optional)
65
What is G68?
Rotation (optional)
66
What is G69?
G68 Cancel (optional)
67
What is G70?
Bolt Hole Circle (Yasnac)
68
What is G71?
Bolt Hole Arc (Yasnac)
69
What is G72?
Bolt Holes Along an Angle (Yasnac)
70
What is G73?
High Speed Peck Drill Canned Cycle
71
What is G74?
Reverse Tap Canned Cycle
72
What is G76?
Fine Boring Canned Cycle
73
What is G77?
Back Bore Canned Cycle
74
What is G80?
Canned Cycle Cancel
75
What is G81?
Drill Canned Cycle
76
What is G82?
Spot Drill Canned Cycle
77
What is G83?
Normal Peck Drill Canned Cycle
78
What is G84?
Tapping Canned Cycle
79
What is G85?
Boring Canned Cycle
80
What is G86?
Bore/Stop Canned Cycle
81
What is G87?
Bore/Stop/Manual Retract Canned Cycle
82
What is G88?
Bore/Dwell/Manual Retract Canned Cycle
83
What is G89?
Bore/ Dwell Canned Cycle
84
What is G90?
Absolute
85
What is G91?
Incremental
86
What is G92?
Set Work Coordinates - FANUC or HAAS
87
What is G92?
Set Work Coordinates - YASNAC
88
What is G93?
Inverse Time Feed Mode
89
What is G94?
Feed Per Minute Mode
90
What is G98?
Initial Point Return
91
What is G99?
R Plane Return
92
What is G100?
Cancel Mirror Image
93
What is G101?
Enable Mirror Image
94
What is G102?
Programmable Output To RS-232
95
What is G103?
Limit Block Buffering
96
What is G107?
Cylindrical Mapping
97
What is G110?
Select Work Coordinate System 7
98
What is G111?
Select Work Coordinate System 8
99
What is G112?
Select Work Coordinate System 9
100
What is G113?
Select Work Coordinate System 10
101
What is G114?
Select Work Coordinate System 11
102
What is G115?
Select Work Coordinate System 12
103
What is G116?
Select Work Coordinate System 13
104
What is G117?
Select Work Coordinate System 14
105
What is G118?
Select Work Coordinate System 15
106
What is G119?
Select Work Coordinate System 16
107
What is G120?
Select Work Coordinate System 17
108
What is G121?
Select Work Coordinate System 18
109
What is G122?
Select Work Coordinate System 19
110
What is G123?
Select Work Coordinate System 20
111
What is G124?
Select Work Coordinate System 21
112
What is G125?
Select Work Coordinate System 22
113
What is G126?
Select Work Coordinate System 23
114
What is G127?
Select Work Coordinate System 24
115
What is G128?
Select Work Coordinate System 25
116
What is G129?
Select Work Coordinate System 26
117
What is G136?
Automatic Work Offset Center Measurement
118
What is G141?
3D+ Cutter Compensation
119
What is G143?
5 AX Tool Length Compensation (optional)
120
What is G150?
General Purpose Pocket Milling
121
What is G153?
5-Axis High Speed Peck Drilling Canned Cycle
122
What is G154?
5-Axis Reverse Tap Canned Cycle
123
What is G161?
5-Axis Drill Canned Cycle
124
What is G162?
5-Axis Spot Drill Canned Cycle
125
What is G163?
5-Axis Normal Peck Drilling Canned Cycle
126
What is G164?
5-Axis Tapping Canned Cycle
127
What is G165?
5-Axis Boring Canned Cycle
128
What is G166?
5-Axis Bore and Stop Canned Cycle
129
What is G169?
5-Axis Bore and Dwell Canned Cycle
130
What is G174?
CCW General Rigid Tap
131
What is G184?
CW General Rigid Tap
132
What is G187?
Accuracy Control for High Speed Machining
133
What are Group 00 codes?
Non-modal codes that specify a function applicable only to the block they are in and do not affect other blocks.
134
What is a Modal G code?
A code that applies to all subsequent blocks until the end of the program or until replaced by a different G code from the same group.
135
What is a Canned cycle?
G73 through G89 codes that can be canceled by the use of G00 or G01.
136
What is an M code?
A code that may be programmed per block of a program, effective or causing an action to occur at the end of the block.
137
What is M00?
Stop Program
138
What is M01?
Optional Program Stop
139
What is M02?
Program End
140
What is M03?
Spindle Forward
141
What is M04?
Spindle Reverse
142
What is M05?
Spindle Stop
143
What is M06?
Tool Change
144
What is M08?
Coolant On
145
What is M09?
Coolant Off
146
What is M10?
Engage 4th Axis Brake
147
What is M11?
Release 4th Axis Brake
148
What is M12?
Engage 5th Axis Brake
149
What is M13?
Release 5th Axis Brake
150
What is M16?
Tool Change (same as M06)
151
What is M17?
Unclamp APC Pallet And Open APC Door (used for maintenance only)
152
What is M18?
Clamp APC Pallet And Close APC Door (used for maintenance only)
153
What is M19?
Orient Spindle. P and R values optional.
154
What is M30?
Prog End and Rewind
155
What is M31?
Chip Conveyor Forward
156
What is M32?
Chip Conveyor Reverse
157
What is M33?
Chip Conveyor Stop
158
What is M34?
Increment Coolant Spigot Position
159
What is M35?
Decrement Coolant Spigot Position
160
What is M36?
Pallet Rotate
161
What is M39?
Rotate Tool Turret
162
What is M41?
Low Gear Override
163
What is M42?
High Gear Override
164
What is M50?
Execute Pallet Change
165
What is M59?
Set Output Relay
166
What is M75?
Set G35 or G136 Reference Point
167
What is M76?
Disable Displays
168
What is M77?
Enable Displays
169
What is M78?
Alarm if skip signal found
170
What is M79?
Alarm if skip signal not found
171
What is M80?
Auto Door Open
172
What is M81?
Auto Door Close
173
What is M82?
Tool Unclamp
174
What is M83?
Air Gun On
175
What is M84?
Air Gun Off
176
What is M86?
Tool Clamp
177
What is M88?
Through the Spindle Coolant ON
178
What is M89?
Through the Spindle Coolant OFF
179
What is M93?
Start Axis POS Capture
180
What is M94?
Stop Axis POS Capture
181
What is M95?
Sleep Mode
182
What is M96?
Jump if no Input
183
What is M97?
Local Sub-Program Call
184
What is M98?
Sub Program Call
185
What is M99?
Sub Program Return Or Loop
186
What is M109?
Interactive User Input