Rockwell Automation 8520 9/Series CNC Lathe User Manual

Page 298

Advertising
background image

Introduction to Programming

Chapter 10

10-30

(1) Program Stop (M00)

When you execute M00, execution stops after the block containing the

M00 is executed. At this time, the CRT displays the “PROG STOP”

message. To restart the operation, press the <CYCLE START> button.

(2) Optional Program Stop (M01)

The optional program stop function has the same effect as the program stop

function, except that it is controlled by an external switch. When the

OPTIONAL PROGRAM STOP switch is placed in the OFF position, the

M01 code in the program is ignored. This switch and the appropriate PAL

programming are the responsibility of your system installer.

(3) End of Program (M02)

If you execute a program from control memory, the M02 code acts the

same as an M30. Program execution stops and the control enters the cycle

stop state. The program is reset to the first block and a <CYCLE START>

begins part program execution over again. See M99 for auto cycle start.

If you execute a program from an external device (such as a tape reader),

when M02 is executed, program execution stops and the control enters the

cycle stop state. The M02 does not cause a tape rewind. The tape reader

must be rewound using some other method before program execution can

resume.

With some machines, the M02 code can also result in a spindle and coolant

supply stop. For details, refer to the instruction manual prepared by your

system installer.

(4) End of Program, Tape Rewind (M30)

If you execute a program from control memory, the M30 code acts the

same as an M02. Program execution stops and the control enters the cycle

stop state. The program is reset to the first block and a <CYCLE START>

begins part program execution again. See M99 for auto cycle start.

If you execute a program from an external device (such as a tape reader),

when M30 is executed, program execution stops and the tape is

automatically rewound to the beginning of the program just executed.

After the tape rewinds, the control enters the cycle stop state. A <CYCLE

START> begins part program execution again. See M99.

With some machines, the M30 code can also result in a spindle and coolant

supply stop. For details, refer to the instruction manual prepared by your

system installer.

Advertising