Technology in detail
A position.
A point of reference.
Where is a hole? Two numbers answer that question only once the origin and the directions of the coordinate axes are defined.
01 / The example
The plate stays put.
The numbers change.
The plate is 60 mm long and 20 mm wide. The centres of holes A and B are 30 mm apart. X points to the right and Y points upwards. When the origin moves from the bottom-left corner to the centre of the plate, the holes stay in place and their coordinates change.
Point A · Origin at bottom left
- X
- 15 mm
- Y
- 10 mm
From the origin, A is 15 mm to the right and 10 mm upwards.
This example adds hole positions to the plate on the technology page. It describes geometry in a plane, not an executable machine program. The drawing is not to scale on screen.
02 / All coordinates
Two origins.
The same holes.
Each row describes a hole centre relative to the selected origin. The coordinate pair always gives X first, then Y. All values are in millimetres.
| Origin | Point | X in mm | Y in mm |
|---|---|---|---|
| Bottom left | A | 15 | 10 |
| Bottom left | B | 45 | 10 |
| Plate centre | A | −15 | 0 |
| Plate centre | B | 15 | 0 |
−15 mm means 15 mm to the left of the origin. Y = 0 mm means the point lies on the X axis. A minus sign describes a direction, not a negative part size.
03 / Position and change
A position and a change
describe different things.
- Absolute coordinates
- These describe a position relative to a fixed origin. From the bottom-left corner, A is at (15, 10) mm and B is at (45, 10) mm. With the origin at the centre, these become (−15, 0) mm and (15, 0) mm.
- Relative change
- This describes the difference between two positions. For the step from A to B, subtract the coordinates of A from those of B. Here, the result is ΔX = +30 mm and ΔY = 0 mm. In NC programming, changes relative to the previous nominal position are also called incremental coordinates.
Calculate the step from A to B
Origin at bottom left: ΔX = 45 mm − 15 mm = +30 mm.
Origin at the centre: ΔX = 15 mm − (−15 mm) = +30 mm.
The origin moves 30 mm to the right and 10 mm upwards. The same values are therefore subtracted from both points, leaving their difference unchanged. This holds here because the axes keep their directions and scale.
The step describes only the change in position. This example does not specify the path a tool would take.
04 / Questions
Keep the origin
in mind.
Does changing the origin move the hole?
No. The hole stays in the same place on the plate. Only the reference point for its coordinates changes.
Why does A have a negative X value with the origin at the centre?
A is 15 mm to the left of the new origin. Since the positive X direction points to the right, its X coordinate is −15 mm.
Is the step from A to B always the same?
For the two origins shown here, yes: ΔX = +30 mm and ΔY = 0 mm. Both coordinate systems have the same directions and scale. Going from B to A reverses the sign: ΔX = −30 mm.
Locate the point.
Check the requirement.
Coordinates describe where a point lies. A drawing adds shape and size; tolerances specify which deviations are acceptable.
Technical reference
The HEIDENHAIN manual explains absolute and incremental workpiece positions in its chapter on NC fundamentals. The plate and its values are a simplified teaching example.