Académique Documents
Professionnel Documents
Culture Documents
CNC/CAM
#4 G Codes Part 2
Universitas
Muhammadiyah
Yogyakarta
www.umy.ac.id
1
1995
1995
2
Manual offset only valid for one cutter (ex: .75 tool)
1995
3
G41: Offset (compensation) of the cutter radius to the LEFT of the contouring direction
G42: Offset (compensation) of the cutter radius to the RIGHT of the contouring direction
G40: Cutter radius offset mode CANCEL
5
1995
Four major keys to a successful use of the cutter radius offset feature:
1. To know how to start the offset
2. To know how to change the offset
3. To know how to end the offset
1995
4. To know what to watch between
6 the start and end
1995
7
Code
Explanation
Tool infeed, P1
N06 Y1.125
P2
P3
N08 Y0.625
P4
P1
N11
1995
Ex: T0204 will cause the turret to index to the tool station
#2 (first two digits) which will become the working station
(active tool). At the same time, the associated tool wear
offset number (the second pair of digits) will become
effective as well.
1995
9
10
Code
Explanation
N05 Z0.1
Tool retract in +Z
N09 G01
11 X0.3125 Z-0.03
F0.003
1995
Code
Explanation
N11
X0.5 C-0.03
N12 Z-0.75
N14 Z-1.255
N15 U0.2
N17 M01
12
Code
Explanation
N21 X0.365
Move to X position
N23 Z-0.4
Cut to Z 0.4
N25 Z-0.75
Cut to Z 0.75 in
N27 Z-1.255
Cut to Z 1.255
Rapid move to XZ
N29 M01
13
1995
Code
Explanation
N31
N32
N33
G00 X0.9
N34
Z-1.1825
N35
Cut to XZ position
N36
X-0.02 F0.0015
Cut off
N37
G00 X5
N38
Z5 T0500 M09
N39
M30
Program stop
14
1995