Machine Coordinate System (Machine Zero)
The machine coordinate system is the fixed coordinate frame of a CNC machine, with its origin at a builder-defined machine zero or reference point. Work and tool offsets are defined relative to it.
Each CNC machine has a fixed coordinate system set by the builder, whose origin is called machine zero, machine home or the reference point. On machines with incremental encoders the control establishes this origin by a reference return, or homing, after power-up; machines with absolute encoders retain their position through power cycles. All other coordinate systems, such as work coordinate systems, are defined as offsets from machine coordinates.
Machine coordinates are used for positions that must not depend on the part being made, such as tool-change positions, safe retract positions, pallet-change positions and software travel limits. Many FANUC-style controls provide G28 for a return to the reference point and G53 for a non-modal move in machine coordinates.
If the reference position is lost or established incorrectly, offsets and travel limits become wrong, which can lead to scrapped parts or collisions. Homing behaviour, reference markers and stroke limits are configured by the machine builder, and changes to them are governed by OEM documentation and qualified personnel. Machine geometry and positioning accuracy relative to this frame are assessed with tests described in the ISO 230 series.
Key points
- Fixed frame with an origin at machine zero, defined by the builder
- Incremental-encoder machines establish it by homing after power-up
- Work offsets, tool-change positions and travel limits refer to it
- A lost or wrong reference position can cause scrap or collisions
Where AiVibe comes in
AiVibe designs and manufactures the AiAmbA AI Factory: edge devices plus AI agents that let people talk to CNC, PLC and robot controllers in plain language. Agents only propose changes, and a trained operator confirms each one.
Related terms
- Work Offset (Work Coordinate System, G54 to G59)CNC & Precision Machining
- CNC Axis Nomenclature (X, Y, Z, A, B, C)CNC & Precision Machining
- Tool Length Offset (G43)CNC & Precision Machining
- Machine Tool Positioning Accuracy and RepeatabilityCNC & Precision Machining
- CNC ControllerCNC & Precision Machining