Parker Automation Gemini GV6K Command Reference Manual page 174

Servo drive/controller
Table of Contents

Advertisement

Example:
INTHW1
; Enable alarm event bit #1
A20
; Set acceleration to 20 units/sec/sec
V2
; Set velocity to 2 units/sec
D25000
; Set move distance to 25000 units
GO1
; Initiate motion
INTSW1
; Force alarm event bit #1 as soon as the move is finished
; **************************************************************************
; * Note: After the alarm occurs, it is the client application program's
; * responsibility to examine the communication server's fast status
; * register to determine the cause of the alarm.
; **************************************************************************
INVARI
Map Inputs to Integer Variable
Type
Variables
Syntax
<a_><!>INVARI<i>,<B>,<i>,<i>
Units
See below
Range
See below
Default
n/a
Response
INVARI:
*INVARI1,1,1,12
See Also
INDEB, INEN, INLVL, VARI
The
command allows a selected group of contiguous inputs to be interpreted as a binary number
INVARI
and continuously assigned to the selected integer variable (
number, starting bit number, and ending bit number. All inputs to be mapped to a
and on the same I/O brick. These inputs are read and masked internally, then shifted such that the starting
bit is the low-order bit of the resulting binary value. A change in the starting bit input will always result in a
change of ±1 in the resulting VARI, even if the starting bit number is not 1.
VARI number. Range is 1-8.
I/O Brick number.
• 0 for onboard inputs
• 1-8 for external EVM32 I/0 bricks
The Gem6K inputs are read every 2 milliseconds, modified by
time specified in
. The inputs specified by
INDEB
and
, but before the debounce. Thus, the
INEN
updated every 2 milliseconds.
The
variables are not updated with inputs unless the
VARI
and ending bits. If the specified input bit does not exist onboard or on the I/O brick, an error message
("
") will result.
*INVALID DATA
Specifying bit 0 for both starting and ending bit disables the
172
Gemini GV6K/GT6K Command Reference
VARI
INVARI<i>,<B>,<i>,<i>
Ending bit location on I/O brick.
Starting bit location on I/O brick.
are monitored after they are modified by
INVARI
variable specified by the
VARI
INVARI
INVARI
www.comoso.com
Product
GT6K
GV6K
). The inputs are specified by I/O brick
must be contiguous
VARI
• Range is 1-32.
• The input must exist on the I/O brick at
the specified location.
• Range is 1-32.
• The input must exist on the I/O brick at
the specified location.
and
, and debounced with the
INLVL
INEN
command will be
INVARI
is issued with valid values for starting
mapping (
INVARI<i>,<b>,0,0
*
*
*
Rev
6.0
6.0
INLVL
).

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gemini gt6k

Table of Contents