GCodes Flashcards
Learn them all
What are Modal Codes?
Commands that cause the machine to change from one mode to another, remaining active until changed by another command.
What are Non-modal Codes?
Codes that only affect the lines on which they occur.
What are Modal Groups?
Sets of modal commands where only one member may be in force at any given time.
What commands are included in Group 1?
Motion commands including G0, G1, G2, G3, G80, G81, G82, G83, G84, G85, G86, G87, G88, G89.
What commands are included in Group 2?
Plane selection commands including G17, G18, G19.
What commands are included in Group 3?
Distance mode commands including G90, G91.
What commands are included in Group 5?
Spindle speed mode commands including G93, G94.
What commands are included in Group 6?
Units commands including G20 (inches) and G21 (millimeters).
What commands are included in Group 7?
Cutter diameter compensation commands including G40, G41, G42.
What commands are included in Group 8?
Tool length offset commands including G43, G49.
What commands are included in Group 10?
Return mode in canned cycles commands including G98, G99.
What commands are included in Group 12?
Coordinate system selection commands including G54, G55, G56, G57, G58, G59, G59.1, G59.2, G59.3.
What commands are included in Group 2 (M codes)?
Axis clamping commands including M26, M27.
What commands are included in Group 4?
Stopping commands including M0, M1, M2, M30, M60.
What commands are included in Group 6 (M codes)?
Tool change command including M6.
What commands are included in Group 7 (M codes)?
Spindle turning commands including M3, M4, M5.
What commands are included in Group 8 (M codes)?
Coolant commands including M7, M8, M9.
What commands are included in Group 9?
Feed and speed override bypass commands including M48, M49.
What is G1?
A G code for straight move that will be executed again unless a different motion command is given.
What is G4?
A non-modal code that causes a dwell.
What are Coolant Commands?
Modal commands that remain active until explicitly turned off.
What is G00?
Rapid Motion
What is G01?
Linear Interpolation Motion
What is G02?
CW Interpolation Motion