
FANUC Series 16i/18i-TB Compound Machining Function A-78656E/01
Nov.14.2001 Edition 1
12/127
2.2.2
F code
F codes for both command modes are also independent the same as G
codes.
They cannot be common especially because the values have different
meanings depending on the current mode (feed/min. or feed/rev.),
increment unit and so on.
For example, the F code commanded in turning mode is valid only for
the mode and never affects the milling mode’s.
2.2.3
S code
S codes for both command modes are also independent like G codes.
On changing them, all spindles rotating by the current S code stop.
Spindles may keep rotating by the setting of SAS (PRM No.13002#7)
= 1 instead of stopping.
Example)
O0003 ;
N10 M80 ;
←
Turning mode start
N20 M03 S300 ;
N30 G99 G01 X130. F10. ;
←
10.0000 mm/rev.
N40 M81 ;
←
Milling mode start
N50 G01 X200. F600 ;
←
600.000 mm/min.
N60 M80 ;
←
Turning mode start
N70 G01 Z200. ;
←
G01 by 10.0000 mm/rev.
Example)
O0004 ;
N10 M80 ;
←
Turning mode start
N20 M03 S300 ;
←
Spindle to rotate positively at 300rpm
N30 G99 G01 X130. F10. ;
N40 M81 ;
←
Milling mode start
Spindle to stop when SAS=0
Spindle to keep rotating at 300rpm
when SAS=1