CNC Programming Handbook: A Comprehensive Guide to Practical CNC Programming, Second Edition

Both types of CNC machines, machining centers and lathes, use spindle rotation when removing excessive material from a part. The rotation may be that of the cutting tool (milling) or the part itself (lathes). In both cases, the activities of the machine spindle and the working feedrate of the cutting tool need to be strictly controlled by the program. These CNC machines require instructions that relate to the selection of a suitable speed of the machine spindle and a cutting feedrate for a given job.
There are several methods to control the spindle and cutting feedrate and they all depend mainly on the type of the CNC machine and the current machining application. In this chapter, we look at the spindle control and its programming applications.
The program command relative to spindle speed is controlled in the CNC system by the address S. The programming format of the S address is usually within the range of 1 to 9999 and no decimal point is allowed:
S1 <i class="emphasis">to</i> S9999
For many high speed CNC machines is not unusual to have spindle speed available up to five digits, in the range of 1 to 99999, within the S address range:
S1 <i class="emphasis">to</i> S99999
The maximum spindle speed range available in the control must always be greater than the maximum spindle speed range of the machine itself. It is quite typical that virtually all control systems support a much greater range of spindle speeds than...