11 s- word (spindle speed) – Rockwell Automation 8520-MUM 9/Series CNC Mill Operation and Programming Manual Documentation Set User Manual

Page 312

Advertising
background image

Introduction to Programming

Chapter 10

10-38

L--words in a subprogram call (M98) are used to designate a repeat count
for a subprogram. The number following the L--address designates the
number of times a subprogram will be executed consecutively before
execution is returned to the main program.

Program spindle speeds (in RPM) using an S--word with up to five integer
digits and three decimal digits. The actual legal format is defined in AMP
by the system installer. A common S-word is used to program all of the
spindles AMPed to be in the system.

The system installer sets a maximum spindle speed in AMP for each
different gear range for each spindle configured in AMP. If an S--word is
programmed requesting a spindle speed that exceeds this limit, the spindle
speed will be held at the AMP defined maximum unless a gear change
operation is performed.

When programming an S--word in a block that contains axis motion
commands, the PAL program has the option to temporarily suspend the
axis motion commands until the spindle reaches speed. The control has the
ability to take the programmed spindle speed and automatically search for
the gear range (configured in AMP) to allow the necessary RPM. The
operation of gear changing and how it is implemented is very PAL
dependant. Refer to the system installers documentation for details on how
a gear change operation is performed.

Override programmed spindle speeds with the
{SPINDLE SPEED OVERRIDE} switch on the MTB panel. This switch
can be positioned in five percent increments within a range of 50 to 120
percent. For details, refer to documentation prepared by your system
installer.

Use the override cancel M--code (M49) to ignore any override set on the
MTB panel. When the override setting is ignored, the axis feedrate, rapid
feedrate, and the spindle speed values are all set to 100 percent.

Important: When the MISCELLANEOUS FUNCTION LOCK feature is
activated, the control displays M--, B--, S--, and T--words in the part
program with the exception of M00, M01, M02, M30, M98, and M99.
This feature may be activated through the front panel screen as described
in chapter 7.

10.5.11
S- word (Spindle Speed)

Advertising