About G-codes

Classic Control - Lathe Operator's Manual

The Online Interactive Operator's Manual is currently available in English only.

A PDF version of the Operator's Manual is available for download in multiple languages. Click the link below to view the Operator's Manual in your language. Click "Continue" to view the online version in English.

Get a translated PDF Download Continue

Introduction to G-codes

G-codes are used to command specific actions for the machine: such as simple machine moves or drilling functions. They also command more complex features which can involve optional live tooling and the C Axis.

Each G-code has a group number. Each group of codes contains commands for a specific subject. For example, Group 1 G-codes command point-to point moves of the machine axes, Group 7 are specific to the Cutter Compensation feature.

Each group has a dominant G-code; referred to as the default G-code. A default G-code means they are the one in each group the machine uses unless another G-code from the group is specified. For example programming an X, Z move like this, X-2. Z-4. will position the machine using G00.

note: Proper programming technique is to preface all moves with a G-code.

Default G-codes for each group are shown on the Current Commands screen under All Active Codes. If another G-code from the group is commanded (active), that G-code is displayed on the All Active Codes screen.

G-code commands are either modal or non-modal. A modal G-code stays in effect until the end of the program or until you command another G-code from the same group. A non-modal G-code affects only the line it is in; it does not affect the next program line. Group 00 codes are non-modal; the other groups are modal.

note: The Haas Intuitive Programming System (IPS) is a programming mode that either hides G-codes or completely bypasses the use of G-codes.

Be aware: Many service and repair procedures should be done only by authorized personnel. The service technicians at your Haas Factory Outlet (HFO) have the training, experience, and are certified to do these tasks safely and correctly. You should not do machine repair or service procedures unless you are qualified and knowledgeable about the processes.

Danger: Some service procedures can be dangerous or life-threatening. DO NOT attempt a procedure that you do not completely understand. Contact your Haas Factory Outlet (HFO) and schedule a service technician visit if you have any doubts about doing a procedure.

Feedback