Rockwell Automation 8520 9/Series CNC Lathe User Manual
Page 754

Chapter 30
Using a 9/Series Dual--Processing System
30-14
Use the synchronization M-codes to properly dictate which process has
control of the spindle at any given time. Adding a synchronization M-code
to the above program segments would remedy the problem of process 1
cutting at the wrong RPM and in the wrong direction. For example:
Process 1
Process 2
Shared Spindle Operation
N51 G97 S200 M04;
200 RPM, counterclockwise
N21 M101;
200 RPM, counterclockwise
(process 2 pauses, waiting for
M101 in process 1)
N52 G01 X10 Z5;
200 RPM, counterclockwise
N53 X12 Z3 S275;
275 RPM, counterclockwise
N53 M101;
275 RPM, counterclockwise
N22 G97 S500 M03;
500 RPM, clockwise
N22 G01 X12 Z--1;
500 RPM, clockwise
Multiple Spindle Systems
Your system installer has the option of assigning additional spindles (in
addition to the shared spindle) to the different processes. These spindles
cannot be shared. Your system can have only one shared spindle between
processes. Additional spindles must be assigned to specific processes in
AMP and can be controlled by only that process.
Controlling these additional spindles in the part program is accomplished
in the same way as single processing systems. The spindle being
controlled must first be selected by using a G12.1, G12.2, or G12.3. Refer
to page 17-9 for details on programming these spindle G codes. Your
system installer selects in AMP which spindle (spindle 1, spindle 2, or
spindle 3) is the shared spindle.
Exclusive Operations on a Shared Spindle.
There are several features that require exclusive use of the spindle. When
you execute these features, changes to the spindle cannot be performed by
another process until the feature is completed or canceled. These features
include:
M19 -- Spindle Orient
G96 -- Constant Surface Speed (CSS)
G16.1, G16.2 -- Virtual C, Cylindrical and End-Face Milling
Fixed cycles that require spindle control include:
- G84 (right hand tapping cycle)
- G84.1 (left hand tapping cycle)
- G86.1, G87, G88 (boring cycles)