CNC Machinist Calculator Ultra

Home › G-codes › Siemens 840D 828D › G74

G74 Reference point approach

Siemens 840D 828D G-code · Mill and lathe

Moves the listed machine axes to their reference point from the program. Used after a power up on machines with incremental encoders or before a measuring routine.

Format

G74 X1=0 Y1=0 Z1=0

Addresses

AddressWhat it does
X1= Y1= Z1=Machine axis names to reference. The value is not used but must be written.

How it works

Non modal. Must be in its own block.

Example program

G0 Z50 ; CLEAR THE PART
G74 Z1=0 ; Z TO REFERENCE POINT FIRST
G74 X1=0 Y1=0 ; THEN X AND Y

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G75 · SUPA

G74 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucLeft hand tapping cycle
Haas NGCReverse tapping cycle
Mazak (EIA)Reverse tapping cycle
Okuma OSPReverse tapping cycle
Mitsubishi M70 M80Reverse tapping cycle
Brother SpeedioLeft hand tapping cycle
Fagor 8055 8065Home search
LinuxCNC TormachLeft hand tapping cycle
Mach3 Mach4Left hand tapping, Mach4
Centroid CNC12 AcornLeft hand tapping cycle
Hurco WinMax (NC)Left hand tap (ISNC) or single quadrant arc (BNC)
FadalLeft hand tap
Swiss (Citizen Star)Face peck drilling and grooving cycle

Every G-code for Siemens 840D 828D in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.

Open G74 in the app All Siemens 840D 828D G-codes

App Store Google Play