Parker
Hannifin
Starting, Pausing, and Halting Programs
Once downloaded to a controller, you can control programs from
the SYS prompt, as well as any PROG or PLC prompt. You must
include the program or PLC number when issuing the command—for
example
RUN PROG0
, or
PAUSE PROG0
, or
HALT PROG0
. The following
commands provide immediate program control from a terminal
editor:
Running a Program
While the program starts, the controller returns to the SYS, PROG, or
PLC prompt. You can then enter immediate commands as the
program runs.
►
To start a program, send the
RUN
command.
Running a Program at Power Up
You can set a specific program to automatically start after powering
up or rebooting the controller,
►
In the program editor, enter the
PBOOT
command as the first line
in a program.
Listening to a Program
While a program is running, you can “listen” to it. The listen mode
displays data from the controller’s print statements and error
messages.
►
To enable the listening mode on a running program, send the
LISTEN
command.
►
To exit the listening mode, press the
ESC
key (ASCII 27).
Viewing a Running Program
You can also start and listen to a program using a single command.
This is best used for development trouble shooting purposes. It is the
only time you can view program syntax errors.
►
To start a program with the listening mode enabled, send the
LRUN
command.
►
To exit the listening mode, press the
ESC
key (ASCII 27).
Halting a Program
You can stop motion and end program execution from the SYS,
PROG, and PLC prompts using the
HALT
command.
NOTE:
To terminate a program in the middle of execution based
on a condition, use the
END
command.
►
To stop a program, send the
HALT
command.
Programming Basics 13
Содержание ACR Series
Страница 1: ......
Страница 65: ...Parker Hannifin Making Motion 65...
Страница 89: ...Parker Hannifin Servo Loop Fundamentals 89 Figure 17 Following Error...