Command Descriptions
163
INFNC
Input Function
Type
Input
Syntax
<a_><!><B>INFNC<i>-<<a>c>
Units
i = input #,
a = program # for function P;
c = function identifier letter
Range
i = 1-32 (I/O brick dependent — see page
8
);
c = A-T
Default
All inputs set to A (general-purpose)
Response
INFNC:
(input function and status of general-purpose inputs)
1INFNC: (input function and status of I/O brick 1 inputs)
1INFNC1: *1INFNC1-A NO FUNCTION - STATUS OFF
See Also
COMEXR, COMEXS, ENCCNT, [ ER ], ERROR, [ IN ], INDEB, INEN,
INLVL, INPLC, INSELP, INSTW, INTHW, JOY, JOYAXH, JOYVH, JOYVL,
K, KDRIVE, LH, LIMFNC, PSET, [ SS ], TER, TIN, TIO, TRGFN,
TRGLOT, [ TRIG ], TSS, TSTAT, TTRIG
Product Rev
GT6K 6.0
GV6K 6.0
The
INFNC
command defines the function of each individual input, where
i
is the input bit number, or the
program number for the case of input function P, and
c
is the function. A limit of 32 inputs may be
assigned
INFNC
functions; this excludes functions
A
(“general-purpose”) and
H
(“trigger interrupt”).
Input Debounce
. Using the Input Debounce Time (
INDEB
) command, you can change the input debounce
time for all general-purpose inputs. The debounce is the period of time that the input must be held in a
certain state before the Gem6K recognizes it. This directly affects the rate at which the inputs can change
state and be recognized. Inputs that are assigned the “Trigger Interrupt” function (
INFNCi-H
), are instead
debounced by the
TRGLOT
value. Inputs defined as limit inputs (
INFNCi-R
,
INFNCi-S
, or
INFNCi-T
), will
not be debounced.
Input bit assignments vary.
The input bit patterns for onboard and external I/O bricks are explained on
page
8
of this document.
Input Scan Rate
. The programmable inputs are scanned once per
system update
(2 milliseconds).
Multitasking
. If the
INFNC
command does not include the task identifier (
%
) prefix, the function affects the
task that executes the
INFNC
command. The functions that may be directed to a task with
%
are:
C
,
D
,
E
,
F
,
and
P
(e.g.,
2%INFNC3-F
assigns onboard input 3 as a user fault input for task 2). Multiple tasks may share
the same input, but the input may only be assigned one function.
Identifier
Function Description
A
General Purpose Input.
Normal input, used with the
IN
assignment
B
BCD Program Select.
BCD input assignment to programs, lowest numbered input is least
significant bit (LSB). BCD values for inputs are as follows:
BCD Value
Least Significant Bit Value
1
. 2
. 4
. 8
. 10
. 20
. 40
. 80
Most Significant Bit Value
100
Note
: If fewer inputs than shown above are defined to be Program Select Inputs, then
the highest input number defined as a Program Select Input is the most significant bit.
An input defined as a BCD Program Select Input will not function until the
INSELP
command has
been enabled.
www.comoso.com
Содержание Gemini GT6K
Страница 24: ...www comoso com ...
Страница 40: ...www comoso com ...
Страница 344: ...www comoso com ...
Страница 350: ...www comoso com ...