Rockwell Automation 8520-MUM 9/Series CNC Mill Operation and Programming Manual Documentation Set User Manual
Page 440

Spindles
Chapter 17
17-4
Refer to the system installers documentation to determine which orient the
system is equipped to perform. This manual assumes that a closed loop
type orient is available. If an open loop orient is the only spindle orient
available on a specific system refer to the system installers documentation
for details on its operation as it is highly PAL dependant.
Both open- and closed-loop spindle orients can be requested either by
programming the appropriate spindle orient code (M19, M19.2, M19.3) in
a program block, or by requesting one through PAL. If closed-loop orient
is requested through PAL, the orient angle is fixed at the default orient
angle preset by the system installer in AMP.
If a closed-loop orient is requested by programming the appropriate
spindle orient code (M19, M19.2, M19.3), the option exists to orient the
spindle to the AMP-defined orient position or to a position programmed
with an S parameter in the M19 block. The S parameter defines an angle
at which the spindle is positioned relative to an angle of zero that is fixed
for a specific machine. Refer to the documentation prepared by the system
installer. This S parameter always programs an absolute angular position.
The angle programmed is not affected by incremental or absolute
programming mode (if open-loop orient is being used, the value
programmed with the S parameter is ignored).
The M19 code is modal. To perform an orient to a programmed angle
however an M19 with an S word must be re-programmed in each block to
orient. Programming an S word alone will replace the current modal
spindle speed used later when the M19 mode is canceled. Cancel the M19
code by programming one of the other spindle mode M codes.
To cancel spindle orient:
Program:
Meaning:
Spindle 1
code M19
M03
M04
M05
Spindle 1 clockwise
Spindle 1 counterclockwise
Spindle 1 stop
Spindle 2
code M19.2
M03.2
M04.2
M05.2
Spindle 2 clockwise
Spindle 2 counterclockwise
Spindle 2 stop
Spindle 3
code M19.3
M03.3
M04.3
M05.3
Spindle 3 clockwise
Spindle 3 counterclockwise
Spindle 3 stop