![Parker ACR Series Скачать руководство пользователя страница 24](http://html1.mh-extra.com/html/parker/acr-series/acr-series_programmers-manual_3854036024.webp)
Parker Hannifin
Other Conditional Statements
There are two additional program flow control commands:
INH
and
IHPOS
. The
INH
command lets you inhibit (pause) program execution
until the state of a selected bit (set or clear) occurs. Similarly, the
IHPOS
command lets you inhibit program execution until a specific
axis position is occurs.
INH
The
INH
command lets you inhibit program execution based on the
set or clear state of a specified bit.
NOTE:
Do not use
INH
in non-motion programs. If you have multiple
non-motion programs, an inhibit in one non-motion program
affects all non-motion programs.
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.
24 Programmer’s Guide
Содержание ACR Series
Страница 1: ......
Страница 65: ...Parker Hannifin Making Motion 65...
Страница 89: ...Parker Hannifin Servo Loop Fundamentals 89 Figure 17 Following Error...