Program control instructions direct program execution. Use these when you want areas of your program to pause, abort, resume a program, and handle errors.
A PAUSE instruction suspends program execution in the following manner:
Any motion already begun continues until completed.
All connected timers continue being incremented.
All PULSE instructions that are currently running continue to run until they are completed.
Any instruction that is currently running, except program call instructions, is completed. Program call instructions are performed when the program is resumed.
See Figure 96, " PAUSE " .
An ABORT instruction ends the program and cancels any motion in progress or pending. After an ABORT instruction is executed, the program cannot continue; it must be restarted. See Figure 97, " ABORT " .
The maintenance program instruction defines the program name that will be used as the maintenance program, if the error recovery option is used. See Figure 98, " MAINT_PROG = program " .
Refer to the “Advanced Functions” chapter in the Setup and Operations Manual for more information.
The clear resume program instruction clears the resume program, if the error recovery option is used. See Figure 99, " CLEAR_RESUME_PRO " .
Refer to the “Advanced Functions” chapter in the Setup and Operations Manual for more information.
The return path disable instruction disables the ability to use the return path, if the error recovery option is used. See Figure 100, " RETURN_PATH_DSBL " .
Refer to the “Advanced Functions” chapter in the Setup and Operations Manual for more information.