G54 Work Coordinate System (WCS) in CNC Machining
G54 is the default CNC G-code used to activate the primary Work Coordinate System offset relative to the machine origin.
Engineering Specifications & Parameters
| Code Category | Modal G-Code |
| Extended Range | G54.1 P1 - P48 |
| Standard Range | G54 - G59 |
| Common Controller | Fanuc, Haas, Siemens, Heidenhain |
Understanding G54
G54 tells the CNC controller where the workpiece zero (Part Zero) is located relative to the machine home position.
Usage Example
G90 G54 G00 X0 Y0 (Move to part X0 Y0)
G43 H01 Z50.0 (Apply tool height offset)
Key Considerations
- Offsets are recorded in the machine offset registry table.
- G54 through G59 provide six standard default datum positions.
Frequently Asked Questions
What is the difference between G53 and G54?
G53 uses the non-modal absolute machine coordinate system, whereas G54 uses the user-defined work coordinate system.