Campbell 21X Manual do Operador Página 133

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 191
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 132
I
the
loop.
ln$truction 90 does
not
affect the loop
counter
whi{r
still
counts
by
1.
I
PAR.
DAT4
NO. TYPE
DESCRIPTION
01:2
Increfnent
for the
loop
index counter
**{
91 IF FLAG,
PORT
***
FUNCTION
This
instructfon
checks one
of the ten
flags
or 8
ports
and coyrditionally
performs
the specified
command.
The high
inp;rt of any differentialchannel
may be
used to
sen$e
the
status
of a
logic signal
(3
Vchigh<Sr5
V;
-0.5
V{ow<0.8
V).
This
option
only
exists
With
21X PROMS
released after
July
1993
(OSX-{.1
revision 3 and
greater).
The first
pargmeter
specifies
the
flag or
port
to
check
and
tlle state
(high
or
low) on
which
to
execute
the command.
1X
-
4xecute
Command
if Flag X is high
2X
=
Qxecute
if
Flag X
is low
4X
=
$xecute
if Port X
is high
5X
=
dxecute
if Port
X is
low
PAR.
NO.
01:
02:
DATA
TYPE
DESCRIPTION
Flag/status
Command
***
92
lF
TIME
**'
FUNCTION
The user
sppcifies the
number
of
minutes
into
an
interval,
the
duration of
the
interval,
and
a
command. llhe
command
is executed each
time
the
reaf time is the
specified
number
of
minutes
intd the interval.
l
The time
intprual is synchronized
with realtime;
if a
60 minute
time interval
is specified
with 0
minutes
intd the interval,
the Command
will be
executed
each
hour on the
hour.
The
time
interval
is automatically
synchronized
by
making
a modulo
divide of the
number of
minutes since
minutes).
Qnly
one
execution
is
allowed
in any
minute
(e.g],
if the
command
is to set the Output
Flag,
and t(e
execution
interual
of the table
is 10
SECTION
12.
PROGRAM
CONTROL
INSTRUCTIONS
The
Output
Flag
(Flag
0)
is a
special
case
in
that it
will automatically
be set
low if it
is not time
to set it high.
PAR. DATA
NO. TYPE
DESCRIPTION
Time
into
interval
(minutes)
Time
interval
(minutes)
Command
***
93
BEGIN
CASE STATEMENT
***
Instruction 93 specifies
an input
location
for
comparison
with fixed
values in subsequent
lf
Case instructions
(83).
When
a comparison
is
true,
the
command
in the lf Case
instruction
is
executed and at
the next Instruction
83
execution
jumps
to the End
Instruction
95
associated
with the
Begin Case
Instruction.
PAR. DATA
NO.
TYPE
DESCRIPTION
01: 4
Input location for subsequent
comparisons
EXAMPLE:
01:
4
02: 4
03: 2
2l
2
01:
P93
01:
2
02: P83
01:
69.4
02:
3
else
03:
P83
01:
72
02:
10
else
04: P83
01:
77.3
02:
30
Case
Case Loc
lf
Case
Location
<
F
F
CallSubroutine
3
lf
Case
Location
<
F
F
Set high
Flag 0
(output)
lf
Case
Location
<
F
F
Then Do
Z=F
F
Exponent
of
10
ZLoc:
End Then
Do
End
of
Case
Statement
r**
94 ELSE
***
05: P30
01:
0
02:
0
03:
25
06:
07;
P95
P95
FUNCTION
When Command
30
(Then/Else)
is
used
with
lf
Instruction. the
Else Instruction
is
used
to mark
seconds,
thpre willonly
be one
output
generated
12-5
Vista de página 132
1 2 ... 128 129 130 131 132 133 134 135 136 137 138 ... 190 191

Comentários a estes Manuais

Sem comentários