Also Read
N5 G90 G54
N10 G20 M06 T01
N15 M03 S2000
N20 G00 X0 Y0 Z1
N25 G00 X.25 Y-1.5
N30 G01 F10 Z-0.125
N35 Y-.5
N40 X.5
N50 G02 X.5 Y-1 I0 J-0.25
N55 G01 X0.25
N60 G01 X0.5
N65 G01 X0.75 Y-1.5
N70 G00 Z1 ; Letter R is completed
N75 G00 X1.125 Y-1.5
N80 G01 Z-.015
N85 G01 X1.375 Y-0.5
N90 G01 X1.625 Y-1.5
N95 G0 Z1
N100 G0 X1.5 Y-1
N105 G01 Z-.015
N110 G01 X1.25 Y-1
N115 G0 Z1 ; Letter A is completed
N120 G0 X2 Y-1.5
N125 G01 Z-.015
N130 G01 X2 Y-.5
N135 G01 X2.25
N145 G02 X2.25 Y-1 I0 J-0.25
N150 G01 X2 Y-1
N155 G00 Z1 ; Letter P is completed
N160 G00 X3.125 Y-1.5
N165 G01 Z-0.125
N170 G01 X3.125 Y-.5
N175 G01 X2.875
N180 G01 X3.375
N185 G0 Z1; Letter T is completed
N190 G0 X3.75 Y-0.7
N195 G01 Z-0.125
N200 G02 X3.95 Y-.5 R.2
N205 G01 X4.05 Y-.5
N210 G02 X4.25 Y-0.7 R.2
N215 G01 Y-1.3
N220 G02 X4.05 Y-1.5 R.2
N225 G01 X3.95 Y-1.5
N230 G02 X3.75 Y-1.3 R.2
N235 G01 X3.75 Y-0.7
N240 G00 Z1; Letter O is completed
N245 G00 X4.625 Y-1.5
N250 G01 Z-.015
N255 G01 Y-.5
N260 G01 X4.875
N270 G02 X4.875 Y-1 I0 J-0.25
N275 G01 X4.625
N280 G01 X4.875
N285 G01 X5.125 Y-1.5
N290 G00 Z1; Letter R is completed
N295 G00 X5.5 Y-1.25
N300 G01 Z-0.015
N305 G03 X5.75 Y-1.5 R.25
N310 G03 X6 Y-1.25 R.25
N315 G03 X5.75 Y-1 R.25
N320 G02 X5.5 Y-0.75 R.25
N325 G02 X5.75 Y-.5 R.25
N330 G02 X6 Y-0.75 R.25
N335 G00 Z1 ;Letter S is completed
N340 G54 G0 X0 Y0
N345 M05 M30
The general codes are used in the Program and it's meaning is shown below.
G90 - Absolute co-ordinate system
G54 - Work offset location
F - Feed rate
G00 - rapid travel
G01- linear move
G02 -cw circular move
G03 -ccw circular move
M03 - start spindle CCW
M05 - Spindle stop
M00-stop program
M30 - Program end
Use R code for arcs
I and J also used for Arc radius values in X, Y directions
N is for sequence numbering
S is for spindle speed
X,Y,Z are direction
Comments