
APPENDIX
B–64114EN/01
B. LIST OF FUNCTIONS AND
TAPE FORMAT
759
(4/5)
Functions Tape formatIllustration
Selecting a workpiece
coordinate system
(G54 to G59)
Workpiece
origin offset
Workpiece
coordinate
system
Machining coordinate
system
P
I
G54
: _ ;
G59
P
I
Custom macro
(G65, G66, G67)
G65 P_ L_ ;
Macro
O_ ;
M99 ;
One–shot call
G65 P_ L_ <argument> ;
P : Program number
L : Repetition count
G66 P_ L_ <argument> ;
G67 ; Cancel
Canned cycle
(G71 to G76)
(G90, G92, G94)
Refer to II.13. FUNCTIONS TO
SIMPLIFY PROGRAMMING
N_ G70 P_ Q_ ;
G71 U_ R_ ;
G71 P_ Q_ U_ W_ F_ S_ T_ ;
G72 W_ R_ ;
G72 P_ Q_ U_ W_ F_ S_ T_ ;
G73 U_ W_ R_ ;
G73 P_ Q_ U_ W_ F_ S_ T_ ;
G74 R_ ;
G74 X(u)_ Z(w)_ P_ Q_ R_ F_ ;
G75 R_ ;
G75 X(u)_ Z(w)_ P_ Q_ R_ F_ ;
G76 P_ Q_ R_ ;
G76 X(u)_ Z(w)_ P_ Q_ R_ F_ ;
G94 X_ Z_ K_ F_ ;
G90
G92
X_ Z_ I_ F_ ;
Canned cycle for drilling
(G80 to G89)
Refer to II.13. FUNCTIONS TO
SIMPLIFY PROGRAMMING
G80 ; Cancel
G83 X(U)_ C(H)_ Z(W)_ R_ Q_ P_ F_ K_ M_ ;
G84 X(U)_ C(H)_ Z(W)_ R_ P_ F_ K_ M_ ;
G85 X(U)_ C(H)_ Z(W)_ R_ P_ F_ K_ M_ ;
G87 Z(W)_ C(H)_ X(U)_ R_ Q_ P_ F_ K_ M_ ;
G88 Z(W)_ C(H)_ X(U)_ R_ P_ F_ K_ M_ ;
G89 Z(W)_ C(H)_ X(U)_ R_ P_ F_ K_ M_ ;
Constant surface speed control
(G96/G97)
Surface speed
(m/min or feet/min)
Spindle speed
N (min
–1
)
G96 S_ ; Starts constant surface speed control
(Surface speed command)
G97 S_ ; Constant surface speed is cancelled
(Maximum spindle speed command)
Feed per minute (G98)
Feed per revolution (G99)
mm/min inch/min
mm/rev inch/rev
G98 ... F_ ;
G99 ... F_ ;
Absolute/incremental
programming
(when G code system A)
X_Z_C_ ; Absolute programming
U_W_H_ ; Incremental programming
(Identified by an address word specified with a G
function such as G00 or G01)