System information

SECTION FOUR - PREPARATORY FUNCTIONS (G CODES)
21.6 seconds, where 5000 is the maximum feedrate for rotary axis
A.
Feed Per Revolution (G95)
G80 cancel cycle
Sample program:
This G code is a modal G code that instructs the control to interpret feed commands as mm or
inches per revolution of the spindle. G1 F.005 would cause the axis to advance .005" for every
revolution of the spindle.
Note: The machine must have the hard tapping option to use this G code.
Return to initial level or to R level (G98/G99)
These two G codes are only used when the control is in one of the Z axis canned cycles (G73
thru G89) or autoroutines (G24-26, G34-36). A G98 will cause a canned cycle to return the Z
axis to the same level it was at when the cycle was activated. A G99 will cause a canned cycle to
return the Z axis to the current R level.
G98
X1 Y1 Z1
G81 X5 Y-4 Z-1.3 R.2 F10 X5 Y-4 then Z.2 then Z-1.3 then Z1
X2 Y3 X2 Y3 then Z.2 then Z-1.3 then Z1
G99 X3 Y-1 X3 Y-1 then Z.2 then Z-1.3 then Z.2
A discussion follows on several specialized and non-standard G codes.
G271 (Pocket Clear)
The cycle works by generating the path with cutter comp using the tool radius plus finish stock.
Lines are spaced the cut with apart inside the path.
N1234 (The ‘P’ specifies the start of the pocket)
X0 Y0
G3 R1 AA-90 AB90
Y0
P145=10 (Z Feederate)
F25 (XY Feed-rate to clear the pocket)
G271 P1234 Q1235 R.1 Z-1 D.1 I.05
(‘R’ is the R plane, ‘Z’ is the Z-depth, ‘D’ is the Cut Width and ‘I’
is the Finish Stock)
G41
G65 X0 Y1
X2
Y1
G1 Y4
X0
297