08 Lect No.8 Zero Points
08 Lect No.8 Zero Points
2
Fixed Zero and Floating Zero
Machine
Zero
Program Zero
Part Zero
Fixed Zero and Floating Zero
Machine Zero: The machine origin is a fixed point set by the
machine tool builder. Usually it cannot be changed. Any tool movement
is measured from this point. The controller always remembers tool
distance from the machine origin.
Part Zero: The part origin can be set at any point inside the
machine's electronic grid system. Establishing the part origin is also
known as zero shift, work shift, floating zero or datum. Usually part
origin needs to be defined for each new setup. Zero shifting allows
the relocation of the part.
Fixed Zero and Floating Zero
Floating Zero:
Fixed Zero and Floating Zero
20
20
Fixed Zero and Floating Zero
Example
For the shown part calculate the coordinates
of points 1, 2, and 3 in:
1- Fixed Zero
Fixed Zero and Floating Zero
Example
For the shown part calculate the coordinates
of points 1, 2, and 3 in:
2- Floating zero at
parts’ center point
Fixed Zero and Floating Zero
Registering floating zero command
G92 X…Y…Z…
Produced
pocket
Produced
profile
The g-code programming usually controls the
position of tool’s center
D: Cutter Diameter rc
rc: cutter radius D
Types of Tool Radius Compensation
At Left compensation
G41
Tool compensation G-Codes
1. Automated tool compensation
Compensation direction
Types of Compensation
1. Ramp compensation
2. Parallel compensation
➢ Cutting Tool Compensation
✓ Automatic Cutter Radius Compensation
• Tool length offset
• Manual Cutter Radius Compensation
22
G43 :Tool length offset
Tool length offset
• If more than one tool is being used, the first tool is set to zero on all
axis (XYZ). As the X and Y axis are set at the center of the cutter
they will be the same for all subsequent cutters.
• The Z axis zero point will however be different for each tool, being
dependent on the tool length.
Tool length offset
To make life easier the first tool is given an offset (or length) of zero
and subsequent tools are given a positive or negative offset based on
the difference in length from tool No. 1.
Tool length offset
Lets bring the first tool into contact with the work
This means that tool No. 1 has been set to a tool length
of 0
Tool length offset
Now tool 2 is brought into position. Its height is now
compared with Tool No. 1 and the tool length offset
entered in the tool data file. In this case it is -5.5, in other
words the tool No. 2 is 5.5 mm lower than tool No. 1 when
it is in contact with the work.
Tool length offset
Finally the third tool is brought into contact with the work
H= -30 mm
T05 M06
length T05 new tool
G43 H05
G41 D05
Radius
Example II
Solve the following with auto. tool compensation using
tool of 20 mm diameter at depth 10 mm, S2000, and
F10
Point X Y
1 0 0 3 4
2 0 100
3 50 170 5
4 140 170 2
5 190 120
6 190 40 6
7 150 0
1 7
Example II
Solve the following with auto. tool compensation using
tool of 20 mm diameter at depth 10 mm, S2000, and
F10
Absolute cord. N10 G90 G98
XY plane N20 G17
comp. off N30 G40
Metric units N40 G21 3 4
w.p. floating(0) N50 G54
Go to above 1 N60 G0 X-20 Y-20 Z20
Tool changing N70 T1 M6 G43 H1
1000rmp&feed N80 S1000 F10 M3 5
Dwn to depth 10 at (0) N90 G01 Z-10
2
Ramp Linear to (1) G41 D01 X0 Y0
37
39
39