Rockwell Automation 8520-GUM 9/Series CNC Grinder Operation and Programming Manual Documentation Set User Manual

Page 445

Advertising
background image

Axis Motion

Chapter 12

12-73

Important: In systems allowing multiple spindles (9/260 and 9/290), only
one M19 code can be in a block. If two or more M19 codes appear in one
block, e.g., M19.2 M19#, this error message appears, “ONLY ONE M19
ALLOWED PER BLOCK.”

Refer to your system installer’s documentation to determine which orient
your system is equipped to perform. This manual assumes that a
closed-loop type orient is available. If an open-loop orient is used, refer to
the system installer’s 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. However, each time it is necessary to orient to a
specific angle, an M19 with an S-word must be programmed.
Programming an S-word alone causes a decode error, “ILLEGAL ANGLE
VALUE.” Cancel the M19 spindle orient 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

Advertising