ABORT program instruction ABORT program instruction Syntax ABORT task_num Function Terminate execution of an executing program task. Usage Considerations ABORT is ignored if no program is executing as the specified task. ABORT does not force DETACH or FCLOSE operations on the disk or serial communication logical units. If the program has one or more files open and you decide not to resume execution of the program, use a KILL command to close all the files and detach the logical units. Parameter task_num Optional real value, variable, or expression (interpreted as an integer) that specifies which program task is to be terminated. The default task is 0.
Details Terminates execution of the specified active executable program after completion of the step currently being executed. If the task is controlling a robot, robot motion terminates at the completion of the current motion. (Program execution can be resumed with the PROCEED command.) Related Keywords ABORT monitor command CYCLE.END monitor command CYCLE.END program instruction ESTOP monitor command ESTOP program instruction EXECUTE program instruction KILL monitor command KILL program instruction eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 45