
6
FANUC Series 16i /18i -MA
Spindle electronic gear box
S
ecifications
EDT. DATE DESIG. DESCRIPTION PAGE /19
A – 77833E
NO.
TITLE
NEWLY
1999.July.28
01
Program example
Axis configuration X,Y,Z,
B(Cs axis: tool axis/master axis),
C(Cs axis: workpiece axis/slave axis)
O1000 ;
N00010 G80 ;
N00020 G28 G91 B0 C0 ; Performs reference position return operation of the tool
and the workpiece axis.
N00030 G81 T20 L1 ; Starts synchronization.
N00040 Mxx ; Rotates the tool axis by velocity command of PMC axis
control.
N00050 G04 X1000 ; Waits until rotation of the tool axis is constant.
N00060 G01 X_ F_ ; Makes movement on the X-axis(for cutting).
N00070 G01 Z_ F_ ; Makes movement on the Z-axis(for machining).
-------------------------
-------------------------
N00100 G01 X_ F_ ; Makes movement on the X-axis(for retraction).
N00110 Myy ; Stops the tool axis.
N00120 G80 ; Cancels synchronization.
N00130 M30 ;