
Parker Hannifin
56 Programmer’s Guide
Example
The following demonstrates inhibiting a program until a certain
condition is met.
INH 2 : REM wait until bit 2 = 1
INH -516 : REM wait until bit 516 = 0
IHPOS
The IHPOS command lets you inhibit program execution based on
the setpoint of a given parameter or a timeout is reached.
NOTE: While intended to inhibit program execution based on an
axis position, you can use any system parameter or user
defined parameter.
Example
The following demonstrates a variety of inhibits for encoder 1.
IHPOS P6160 (40000,5.5) : REM wait until ENC1 >40000, or 5.5 seconds
IHPOS -P6160 (40000,5.5) : REM wait until ENC1 <40000, or 5.5 seconds
IHPOS P6160 (40000,0) : REM wait until ENC1 >40000, no timeout
Parameters and Bits
The ACR series controllers is parameter based, providing extensive
control of settings and operations. The AcroBASIC language
provides a simplified way to interact with the most commonly used
parameters and bits. However, you can increase control and
performance through direct access of the parameters and bits.
There are separate parameter and bit tables. Following each is a
table providing description of the parameters or bits and the
read/write attributes. The factory default state depends on the
specific parameter or bit.
NOTE: The values for some parameters and bits change
automatically through operation of the ACR controller.
Changing (writing) a value does not ensure the parameter
or bit retains the value over the course of operations. Use
caution—forcing a value to change can cause
unpredictable results.
There are two types of bits: request and non-request.
• Request Bits: The bit is self clearing when processed by the DSP.
All request bits include “request” in the name. In most cases,
there are complimentary flags that perform the opposite
action. For example, the Run Request bit and the Halt Request
bit control the running and halting of programs.
• Non-Request Bits: The bit requires clearing through a program
or manually through a terminal.
Kommentare zu diesen Handbüchern