Professional Documents
Culture Documents
2.3.3b.P GMCodeRelative
2.3.3b.P GMCodeRelative
2.3.3b.P GMCodeRelative
Introduction
CNC machines can be programmed many ways using G&M code. An alternative to
absolute coordinates is to use relative coordinates. This alternate system can be an
advantage to program geometry more efficiently. In this activity you will apply
relative coordinates to G & M Code creation.
Equipment
G & M Codes presentation
Project 2.3.3c G & M Code Reference
Project 2.3.3d G & M Code Planning
CNC milling center
2 in. x 3 in. x 2 in. Ren Shape 450 blank or similar material
Point X Y Point X Y
A X0.3125 y0.3125 PP
B X0 y1.375 QQ
C X0.625 y-1.375 RR
D X0 y1.375 SS
E X0.5625 y-1.375 TT
F X0 y1.375 UU
G X0.5625 y-1.375 VV
H X0 y1.375 WW
I X0.3125 y-0.4375 XX
J X0.3125 y0.4375 YY
K X0 y-1.375 ZZ
L AAA
M BBB
N CCC
O DDD
P EEE
Q FFF
R GGG
S HHH
AA
BB
CC
DD
EE
FF
GG
HH
II
JJ
KK
LL
MM
NN
OO
Bloc G X Y Z I J R F M T S ; Comments
k
X0. y0.31
N03 G00 312 25 Rapid to Above Point A
5
N05 G91
X0. y-
N08 G01 Straight Line to Interp to Point C
625 1.375
X0 y1.37
N09 G01 Straight Line to Interp to Point D
5
X0. y-
N11 G00 562 1.375 Straight Line to Interp to E
5
X0 y1.37
N13 G01 F16 Straight Line Interp to Point F
5
Bloc G X Y Z I J R F M T S ; Comments
k
X0.562 y-1.375
N15 G00 Straight Line Interp to Point G
5
X0.312 y-0.4375
N17 G01 Straight Line Interp to Point I
5
X0.312 y0.4375
N18 G01 Straight Line Interp to Point J
5