Anda di halaman 1dari 3

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 G00 G01 G02 G03 G04 G05 G10 G12 G13 G17 G18 G19 G28 G34 G35 G36 G37 G40 G41 G42 G43 Rapid Linear Interpolation Linear Interpolation

Description

Clockwise Circular Interpolation Counter Clockwise Circular Interpolation Dwell High Speed Machining Mode Offset Input By Program Clockwise Circle With Entrance And Exit Arcs Counter Clockwise Circle With Entrance And Exit Arcs X-Y Plane Selection Z-X Plane Selection Y-Z Plane Selection Return To Reference Point Special Fixed Cycle (Bolt Hole Circle) Special Fixed Cycle (Line At Angle) Special Fixed Cycle (Arc) Special Fixed Cycle (Grid) Tool Radius Compensation Cancel Tool Radius Compensation Left Tool Radius Compensation Right Tool Length Compensation

G44 G45 G46 G50.1 G51.1 G52

Tool Length Compensation Cancel Tool Offset Increase Tool Offset Decrease Programmed Mirror Image Cancel Programmed Mirror Image On Local Coordinate Setting

G54 - G59 Work Coordinate Registers 1 Thru 6 G60 G61 G65 G66 G68 G69 G73 G74 G76 G80 G81 G82 G83 G84 G85 G86 G87 G88 G89 G90 G91 G92 Unidirectional Positioning Exact Stop Check Mode Macro Call (Non Modal) Macro Call (Modal) Programmed Coordinate Rotation Coordinate Rotation Cancel Fixed Cycle (Step) Fixed Cycle (Reverse Tapping) Fixed Cycle (Fine Boring) Fixed Cycle Cancel Fixed Cycle (Drilling / Spot Drilling) Fixed Cycle (Drilling / Counter Boring) Fixed Cycle (Deep Hole Drilling) Fixed Cycle (Tapping) Fixed Cycle (Boring) Fixed Cycle (Boring) Fixed Cycle (Back Boring) Fixed Cycle (Boring) Fixed Cycle (Boring) Absolute Value Command Incremental Value Command Work Offset Set

G101 G102 G103 G104 G105 G106 G107 G108 G109 G110 G200 G201 G202

User macro 1 (substitution) = User macro 1 (addition) + User macro 1 (subtraction) User macro 1 (multiplication) * User macro 1 (division) / User macro 1 (square root) User macro 1 (sine) sin User macro 1 (cosine) cos User macro 1 (arc tangent) tan User macro (square root) User macro 1 (unconditional branch) User macro 1 (zero condition branch) User macro (negative condition branch)

Anda mungkin juga menyukai