![Parker Automation Gemini GV6K Command Reference Manual Download Page 217](http://html1.mh-extra.com/html/parker-automation/gemini-gv6k/gemini-gv6k_command-reference-manual_3701373217.webp)
Command Descriptions
215
Onboard Outputs
(on the “
DRIVE I/O
” connector) —
Relationships
:
OUTLVL
Setting
OUT
State *
Current
TOUT
status
Relationships:
OUTLVL0
(default)
OUT1
Sinking current
1
OUTLVL0
OUT0
No current flow
0
OUTLVL1
OUT1
No current flow
1
OUTLVL1 OUT0
Sinking current
0
* The output is “active” when it is commanded by the
OUT
,
OUTP
, or
POUT
command (for example,
OUTxx1
activates output #3).
Expansion I/O Outputs
(on an EVM32) —
Interrelationships
:
Output Type
OUTLVL
Setting
OUT
State *
Current
OUT
/
TOUT
status
LED
NPN (sinking)
OUTLVL0
(default)
OUT1
Sinking current
1
ON
NPN
OUTLVL0
(default)
OUT0
No current flow
0
OFF
NPN
OUTLVL1 OUT1
No current flow
1
OFF
NPN
OUTLVL1 OUT0
Sinking current
0
ON
PNP (sourcing)
OUTLVL0
OUT1
No current flow
1
OFF
PNP
OUTLVL0 OUT0
Sourcing current
0
ON
PNP
OUTLVL1
(default)
OUT1
Sourcing current
1
ON
PNP
OUTLVL1
(default)
OUT0
No current flow
0
OFF
Reed Relay
OUTLVL0
(default)
OUT1
Sinking (closed)
1
ON
Reed Relay
OUTLVL0
(default)
OUT0
No flow (open)
0
OFF
Reed Relay
OUTLVL1 OUT1
No flow (open)
1
OFF
Reed Relay
OUTLVL1 OUT0
Sinking (closed)
0
ON
* The output is “active” when it is commanded by the
OUT
,
OUTP
, or
POUT
command (for example,
OUTxx1
activates output #3).
Example:
OUTFNC1-A
; Define output #1 as a general-purpose output
OUTFNC2-A
; Define output #2 as a general-purpose output
OUT11
; Turn on outputs 1 & 2
OUT.2-0
; Turn off output 2
1OUT.9-1
; Turn on output 9 (the 1st I/O point on SIM2) on I/O brick 1
[ OUT ]
Output Status
Type
Assignment or Comparison
Syntax
See
below
Units
n/a
Range
b = 0 (off), 1 (on) or X (don't change)
Default
0
Response
n/a
See Also
OUTALL, OUTEN, OUTFNC, OUTLVL, TIO, TOUT, VARB
Product Rev
GT6K 6.0
GV6K 6.0
Use the
OUT
operator to assign the output states to a binary variable (
VARB
), 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=<B>OUT
where “
n
” is the binary variable number and “
<B>
” is the number of the I/O
brick where the output resides (not required if addressing the onboard outputs),
or
OUT
can be used in an expression such as
IF(2OUT=b11Ø1)
, or
IF(1OUT=h7F)
The number of external outputs varies by I/O bricks used. See page
8
for details.
The function of the outputs is established with the
OUTFNC
command (although the
OUT
operator looks at
all outputs regardless of their assigned function from the
OUTFNC
command). If it is desired to assign only
one output value to a binary variable, instead of all outputs, the bit select (
.
) operator can be used, followed
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...