Saturday

CNC G CODES

CNC Machine Language
G-Code List

G-Code is one of a number of computer code languages that are used to instruct CNC machining devices what motions they need to perform such as work coordinates, canned cycles, and multiple repetitive cycles. Industry has standardized on G-Code as its basic set of CNC machine codes.

G-Code is the most popular programming language used for programming CNC machinery. Some G words alter the state of the machine so that it changes from cutting straight lines to cutting arcs. Other G words cause the interpretation of numbers as millimeters rather than inches. Some G words set or remove tool length or diameter offsets.

Below is a complete listing of current codes.

G-Code

Description

G00

Rapid Linear Interpolation

G01

Linear Interpolation

G02

Clockwise Circular Interpolation

G03

Counter Clockwise Circular Interpolation

G04

Dwell

G05

High Speed Machining Mode

G10

Offset Input By Program

G12

Clockwise Circle With Entrance And Exit Arcs

G13

Counter Clockwise Circle With Entrance And Exit Arcs

G17

X-Y Plane Selection

G18

Z-X Plane Selection

G19

Y-Z Plane Selection

G28

Return To Reference Point

G34

Special Fixed Cycle (Bolt Hole Circle)

G35

Special Fixed Cycle (Line At Angle)

G36

Special Fixed Cycle (Arc)

G37

Special Fixed Cycle (Grid)

G40

Tool Radius Compensation Cancel

G41

Tool Radius Compensation Left

G42

Tool Radius Compensation Right

G43

Tool Length Compensation

G44

Tool Length Compensation Cancel

G45

Tool Offset Increase

G46

Tool Offset Decrease

G50.1

Programmed Mirror Image Cancel

G51.1

Programmed Mirror Image On

G52

Local Coordinate Setting

G54 - G59

Work Coordinate Registers 1 Thru 6

G60

Unidirectional Positioning

G61

Exact Stop Check Mode

G65

Macro Call (Non Modal)

G66

Macro Call (Modal)

G68

Programmed Coordinate Rotation

G69

Coordinate Rotation Cancel

G73

Fixed Cycle (Step)

G74

Fixed Cycle (Reverse Tapping)

G76

Fixed Cycle (Fine Boring)

G80

Fixed Cycle Cancel

G81

Fixed Cycle (Drilling / Spot Drilling)

G82

Fixed Cycle (Drilling / Counter Boring)

G83

Fixed Cycle (Deep Hole Drilling)

G84

Fixed Cycle (Tapping)

G85

Fixed Cycle (Boring)

G86

Fixed Cycle (Boring)

G87

Fixed Cycle (Back Boring)

G88

Fixed Cycle (Boring)

G89

Fixed Cycle (Boring)

G90

Absolute Value Command

G91

Incremental Value Command

G92

Work Offset Set

G101

User macro 1 (substitution) =

G102

User macro 1 (addition) +

G103

User macro 1 (subtraction) -

G104

User macro 1 (multiplication) *

G105

User macro 1 (division) /

G106

User macro 1 (square root)

G107

User macro 1 (sine) sin

G108

User macro 1 (cosine) cos

G109

User macro 1 (arc tangent) tan

G110

User macro (square root)

G200

User macro 1 (unconditional branch)

G201

User macro 1 (zero condition branch)

G202

User macro (negative condition branch)


2 comments:

Unknown said...

You say that this is a "complete" list, and while you do cover a majority of the commands, there are a number of omissions. I can read and write g-code like it was written in english. Where is G20: assign measurement system?

jospeh said...

Nice blog. I read your post. your post provides important information . i like your post. your post provide full infomation about CNC Machine Technology
Macro Magnum

adsense

search engine

Custom Search