Command Descriptions
169
The
INPLC
command has four fields (
<i>,<i-i>,<i>,<i>
):
Data Field
Description
Field 1:
<i>
Set #
: There are 4 possible
INPLC
sets (1-4). This field identifies which set to use.
Field 2:
<i-i>
Input #s
: Data is read into the Gem6K through programmable inputs on expansion I/O
bricks. This field identifies the inputs to be used with the
TW
command. The first number is
the first input, and the second number is the last input. The inputs must be consecutive. The
number of inputs should be 8, because two BCD digits are read per data strobe. You must
use inputs on an expansion I/O brick. Refer to page
8
for help in identifying which input bits
are available to place in this field.
Field 3:
<i>
Sign Input #
: This field identifies which input is designated to provide sign information. A
zero specified in the command field specifies no sign information. An active signal on the
input designated as the sign input indicates a negative data entry.
Field 4:
<i>
Data Valid Input #
: This field identifies which input is designated to be the data valid
handshake input. A zero in this field indicates that there will be no data valid handshake
input used. When an input is specified as a data valid, the input must be active in order for
data to be read. If the input is not active, data will not be read until the signal becomes
active.
To disable a specific PLC set, enter
INPLCn,Ø-Ø,Ø,Ø
where
n
is the PLC set (1-4).
Example:
1INPLC2,1-8,9,10
; Set INPLC set 2 as BCD digits on inputs 1-8 on I/O brick 1,
; with input 9 as the sign bit, and input 10 as the data valid
1OUTPLC2,1-4,5,50 ; Set OUTPLC set 2 as output strobes on outputs 1-4 on I/O
; brick 1, with output 5 as the output enable bit, and
; strobe time of 50 milliseconds
A(TW6)
; Read data into acceleration using INPLC set 2 and
; OUTPLC set 2 as the data configuration
INSELP
Select Program Enable
Type
Input
Syntax
<a_><!>INSELP<i>,<i>
Units
See
below
Range
1st
i
=
0,
1,
or
2;
2nd
i
=
0
–
5000
Default
0,0
Response
INSELP: *INSELP0,0
See Also
COMEXS, INEN, INFNC, INLVL, INPLC, INSTW, [ SS ], TDIR, TSS
Product Rev
GT6K 6.0
GV6K 6.0
The
INSELP
command enables program selection by inputs. In addition, the command establishes the strobe
time for the inputs, and whether programs are selected on a one-to-one basis (
INFNCi-iP
) or on a BCD
basis (
INFNCi-B
). When programs are selected on a one-to-one basis, each input defined with the
INFNCi-
iP
command will run a specific program upon activation. When programs are selected by BCD values, each
input defined by the
INFNCi-B
command will contribute to the BCD value, which corresponds to the
program number. The program number is derived from the order in which the programs were defined (
DEF
).
The first program defined is program #1, the second defined is program #2, etc. To verify which program
number corresponds to each program, use the
TDIR
command. The number in front of the program name is
the program number.
First
i
=
Enable or disable function (
Ø
= Disable,
1
and
2
= Enable). Use
INFNCi-B
inputs if
i
=
1
;
use
INFNCi-iP
inputs if
i
=
2
, to select program.
Second
i
= Strobe Time in milliseconds for inputs used to select program. The input must be active at the
end of the strobe time for it to be recognized as a valid selection. The inputs are scanned once
per
system update
(2 milliseconds).
www.comoso.com
Содержание Gemini GT6K
Страница 24: ...www comoso com ...
Страница 40: ...www comoso com ...
Страница 344: ...www comoso com ...
Страница 350: ...www comoso com ...