162
Gemini GV6K/GT6K Command Reference
INEN
Input Enable
Type
Input
or
Program
Debug
Tool
Syntax
<a_><!><@><B>INEN<d><d>...<d> (one <d> for each input)
Units
n/a
Range
d = 0 (disable, leave off), 1 (disable, leave on),
E (enable), or X (don't change)
Default
E
Response
INEN: *INENEEEE_E
1INEN: *1INENEEEE_EEEE_EEEE_EEEE_EEEE_EEEE_EEEE_EEEE
1INEN.3 *E
See Also
ERROR, IN, [ IN ], INFNC, INLVL, INPLC, INSTW, KIOEN, LH,
LIMEN, TIN, TIO, TSTAT
Product Rev
GT6K 6.0
GV6K 6.0
The
INEN
command allows you to simulate the activation of specific general-purpose inputs or external digital
inputs (without actually wiring the inputs) by disabling them and setting them to a specific level (ON or OFF).
The default
INEN
condition is enabled (
E
), requiring external wiring to exercise the input’s respective
INFNC
function.
Using Inputs on Expansion I/O Bricks
: If the I/O brick is disconnected or if it loses power, the drive will
perform a kill (all tasks) and set error bit #18 (see
ERROR
). (If you disable the “Kill on I/O Disconnect”
mode with
KIOENØ
, the Gem6K will not perform the kill.) The drive will remember the brick configuration
(volatile memory) in effect at the time the disconnection occurred. When you reconnect the I/O brick, the
drive checks to see if anything changed (SIM by SIM) from the state when it was disconnected. If an
existing SIM slot is changed (different SIM, vacant SIM slot, or jumper setting), the drive will set the SIM
to factory default
INEN
and
OUTLVL
settings. If a new SIM is installed where there was none before, the
new SIM is auto-configured to factory defaults.
Example
:
INEN1
disables input 1 but leaves it in the ON state (the
TIN
command will show input 1 as active).
INENØ
disables input 1 but leaves it in the OFF (inactive) state. To re-enable input 1, issue the
INENE
command.
INEN
has no effect on …
•
Inputs when they are configured as “trigger interrupt” inputs with the
INFNCi-H
command. This
includes position capture and registration functions.
•
Inputs configured as “end-of-travel limit” inputs with the
INFNCi-R
or
INFNCi-S
commands.
Instead, use the
LH
command.
Input bit assignments for the
INEN
command vary by external I/O brick configuration. The input bit patterns for
general-purpose inputs and external I/O bricks are explained on page
8
of this document.
Example:
DEF tester
; Begin definition of program tester
WHILE(IN=b11X10)
; While inputs 1, 2, and 4 are active, and input 5 is not
; active, execute the statements between the WHILE & NWHILE
GO1
; Initiate motion
NWHILE
; End WHILE statement
END
; End definition of program tester
INEN11X10
; Disable inputs 1,2,4, & 5, and set inputs 1, 2 & 4 in
; the active state, and input 5 in the inactive state
RUN tester
; Initiate program tester
!INEN00000
; Disable onboard inputs 1,2,3,4, & 5, and leave them in the
; inactive state
INENeeeee
; Re-enable inputs 1 through 5
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...