Parker Hannifin
Programs and Commands
There is a subset of AcroBASIC commands that act right away. While
you can use them in programs, you can also send them from a
terminal emulator and effect changes immediately—commands
such as
ACC
,
DEC
, and
VEL
.
You can also make on-the-fly changes to a program from a terminal
emulator. At the appropriate program prompt (SYS, PROG, or PLC),
you can enter the line of code. The code remains in effect until you
re-download programs, cycle power to the controller, or send the
REBOOT
command; the code is not saved.
Immediate Mode Commands
Immediate commands execute on pressing the
ENTER
key—all
commands are immediate. You can use this to set operating
characteristics, view the current settings, or have the controller
perform the command.
•
To view the current master velocity, type the
VEL
command
with no value.
•
To change the current master velocity, type
VEL
and then the
new value such as
VEL 1000
.
•
To perform a command such as turning on the first of the
digital outputs type
SET 32
.
Adding Lines of Code to Programs
You can add lines of code to a program that is already downloaded
to the controller. This can be useful when testing or debugging an
application when you do not want to make a permanent change to
the program stored in ACR-View.
Each code statement you want to add must include a line number.
Otherwise the controller could not understand where to place each
code statement. To determine the correct line numbers, turn on line
numbering through the Force Line Numbers with List bit (bit 5651).
Then send the
LIST
command to display the current program.
Having determined the correct line number placement for the code
statements, enter the line number, a space and the command. Such
as
15 VEL 1000
The new program lines are stored in the program space.
NOTE:
Code changes made with this procedure are not reflected
in the program stored in ACR-View. To ensure your changes
are permanent, enter them in the ACR-View Program Editor
and download it to the controller.
12 Programmer’s Guide
Содержание ACR Series
Страница 1: ......
Страница 65: ...Parker Hannifin Making Motion 65...
Страница 89: ...Parker Hannifin Servo Loop Fundamentals 89 Figure 17 Following Error...