168
Gemini GV6K/GT6K Command Reference
[ INO ]
Other Input Status
Type
Assignment or Comparison
Syntax
See below
Units
n/a
Range
n/a
Default
n/a
Response
n/a
See Also
[ IN ], [ LIM ], TINO, TINOF
Product Rev
GT6K 6.0
GV6K 6.0
Use the
INO
command to assign an other input value to a binary variable, or to make a comparison against a
binary or hexadecimal value. To make a comparison against a binary value, the letter b (b or B) must be
placed in front of the value. The binary value itself must only contain ones, zeros, or Xs (1, Ø, X, x). To make
a comparison against a hexadecimal value, the letter h (h or H) must be placed in front of the value. The
hexadecimal value itself must only contain the letters A through F, or the numbers Ø through 9.
Syntax:
VARBn=INO
where
n
is the binary variable number
or
[
INO
]
can be used in an expression such as
IF(INO=b11Ø1)
, or
IF(INO=hØ2)
There are 8 other inputs available for assignment or comparison. To assign only one bit (one specific input)
value to a binary variable, instead of all 8, use the bit select (
.
) operator . For example,
VARB1=INO.6
assigns the status of the
ENABLE
input to binary variable 1.
Format for binary assignment:
Bit #1
Bit #8
0000_0000
Bit Function
Location
1-5 RESERVED
6
Enable input (
1
= OK for motion)
DRIVE I/O
connector
7-8 RESERVED
Example:
VARB2=INO.6
; ENABLE input status assigned to binary variable 2
VARB2
; Response if bit 6 is set to 1: *VARB2=XXXX_X1XX
IF(INO.6=b1)
; If ENABLE input status is 1 (OK for motion), do the commands
; following the IF statement until the NIF statement
TREV
; Transfer revision level
NIF
; End if statement
INPLC
Establish PLC Data Inputs
Type
Input
Syntax
<a_><!><B>INPLC<i>,<i-i>,<i>,<i>
Units
See
below
Range
See
below
Default
1,0—0,0,0
Response
INPLC1: *INPLC1,0-0,0,0
1INPLC1: *1
See Also
INEN,
INFNC,
INLVL,
INSTW,
OUTPLC,
[
TW
]
Product Rev
GT6K 6.0
GV6K 6.0
The
INPLC
command, in combination with the
OUTPLC
command, configures the inputs and outputs to read
data from a parallel I/O device such as a PLC (Programmable Logic Controller), or a passive thumbwheel
module. The actual data transfer occurs with the
TW
command. Refer to the
TW
command for a description
of the data transfer process.
www.comoso.com
Summary of Contents for Gemini GV6K
Page 24: ...www comoso com...
Page 40: ...www comoso com...
Page 344: ...www comoso com...
Page 350: ...www comoso com...