Professional Documents
Culture Documents
Fanuc: Spindle Control
Fanuc: Spindle Control
Technical
Brief
Introduction
This document discusses the Analog Spindle setup for the Series 0/16/18/21. It does not attempt to
cover all the details of spindle control. It is intended to demonstrate the standard method of controlling
one spindle.
RPM Command
1
When using an analog spindle with a Series 0 control, you need the S4/S5 Analog option . On the
16/18/21 series controls, you need the Analog Spindle option. This option receives the commanded S
Code, compares it to control parameter settings, and outputs the proper spindle command voltage. The
2
S Code is not output to the PMC side , all calculations are conducted in the CNC side of the control.
RPM
X-Axis Equation 1:
Surface Speed = 2π RAD x RPM
RAD
Surface Speed
To prevent the spindle from overspeeding, a maximum RPM is set by the program using a G92 Sxxxx
(G50) command. The programmer uses the G96 command to turn on the CSS mode. While CSS mode
is active, any S commands will be read as surface feet/min commands. G96 mode is canceled by G97.
In the Series 0/16/18/21 controls, the calculations of spindle speed are handled by the CNC side of the
control. This feature requires the Constant Surface Speed option.
1
This option requires an analog spindle control chip. It is physically located on the backplane.
2
The basic Series 0 software includes an S2 feature. This allows the programming of a 2-Digit S Code
that is output to the ladder. It is not commonly used. The Series 16/18/21 have binary S Code output to
the ladder, but that will not be discussed here.
One point to note is that all maximum spindle speeds for each gear range are calculated based on the
speed when 10V is output. If the spindle drive/motor achieves maximum motor speed at 8V or if the
gearbox maximum speed is less than the motor top speed, you should limit the output with the Spindle
Motor Output Upper Limit parameter.
Page 3 of 8
Parameter Setting
The following chart shows the basic analog spindle parameters for T-Type gear selection.
The following chart shows the basic analog spindle parameters for M-Type gear selection.
3
This document only discusses Method A. For a discussion of Method B, consult the Connection
(Function) Manual for your particular control.
4
The Machining Center controls (M) can use M- or T-Type gear selection based on this parameter
setting. In both the 0-M and 16/18/21-M controls, when Constant Surface Speed option is present, the
gear selection method is T-Type regardless of parameter settings.
FANUC
Page 4 of 8
PMC Interface
This section discusses the PMC signals required to make the spindle run.
For detailed descriptions of the signals, consult the Connection (Function) Manual for your control type.
Example
5
I have chosen not to demonstrate gear switching in my examples because it is a highly machine-
dependent function.
Page 5 of 8
This ladder segment is designed to demonstrate the minimum signal control required to command an
analog spindle. Additional logic would be required to decode M03/M04/M05, check up-to-speed, etc. It is
not to be used for any other purpose, nor should it be distributed separately from this document.
R9091.0 and R9091.1 are system bits. R9091.0 is always off and R9091.1 is always on.
FANUC
Page 6 of 8
Page 7 of 8
FANUC
Page 8 of 8
Related Manuals