Home › G-codes › Siemens 808D › G74
G74 Reference point approach
Siemens 808D G-code · Mill and lathe
Moves the named axes to their reference point from the program. Direction and speed for each axis come from machine data.
Format
G74 X=0 Y=0 Z=0
Addresses
| Address | What it does |
|---|---|
X=0 Y=0 Z=0 | Machine axes to reference. The value is ignored but must be written. |
How it works
Non modal. Needs a block of its own. The previous motion command is active again in the next block.
Example program
G0 X100 Z50 ; CLEAR THE PART
G74 X=0 Z=0 ; X AND Z TO REFERENCE POINT
M30 ; END OF PROGRAM
G74 X=0 Z=0 ; X AND Z TO REFERENCE POINT
M30 ; END OF PROGRAM
Example is in inch. Check offsets and clearances first.
Watch out for
- Write the machine axis identifiers with a value, as in X=0 Z=0. The 0 is not a position.
- Move the tool clear of the part first. Each axis takes the path set in machine data.
Related codes
G74 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Left hand tapping cycle |
| Haas NGC | Reverse tapping cycle |
| Mazak (EIA) | Reverse tapping cycle |
| Okuma OSP | Reverse tapping cycle |
| Mitsubishi M70 M80 | Reverse tapping cycle |
| Brother Speedio | Left hand tapping cycle |
| Siemens 840D 828D | Reference point approach |
| Siemens 808D ISO | Left hand rigid tapping cycle |
| Fagor 8055 8065 | Home search |
| LinuxCNC Tormach | Left hand tapping cycle |
| Mach3 Mach4 | Left hand tapping, Mach4 |
| Centroid CNC12 Acorn | Left hand tapping cycle |
| Hurco WinMax (NC) | Left hand tap (ISNC) or single quadrant arc (BNC) |
| Fadal | Left hand tap |
| Swiss (Citizen Star) | Face peck drilling and grooving cycle |
Every G-code for Siemens 808D 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 808D G-codes