Campbell 21X Manuale dell'Operatore Pagina 132

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 191
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 131
sEcTtoN
12.
12: P89
01: 25
02: 3
03: 6
04: 31
14: P87
01: 1
02: 0
27:
P86
01:
1
28: P89
01: 25
O2: 3
03:
16
04: 31
29: P95
36:
P86
01:
1
P95
P
3
01:
P85
01: 1
03:
lf X<=>F
X
Loc
DAY
>=
F
Exit Loop if
true
End
Beginning of Loop
Delay
Loop Count
Do
CallSubroutine 1
lf X<=>F
X Loc
DAY
>=
F
Exit
Loop if
true
End
Beginning
of
Loop
Delay
Loop
Count
Do
CallSubroutine
1
lf
X<=>F
X Loc DAY
>=
F
Exit Loop
if false
End
End
Table 1
Table 3 Subroutines
Beginning of Subroutine
Subroutine Number
Time
Hours into current
year
(maximum
8784)
Mod/by
Loc
[:DAY ]
End
Parameter
1
1
2
3
4
PROGRAM
CONTROL
INSTRUCTIONS
P95
13:
*T*
88 IF X
COMPARED TO Y
***
FUNCTION
This instruction
compares
two input
locations
and, if
the
result is
true, executes the
specified
Command. The comparison
codes are
given
in
Table
12-5.
PAR. DATA
NO. TYPE DESCRIPTION
Input
location for X
Comparison
code
(Table
12-5)
Input location
for
Y
Command
Input
locations altered: 0
Execution time:
0.6ms
TABLE 12-5.
Comparison
Codes
4
2
4
2
30:
P87
01: 6
02: 0
37:
P89
01:
25
O2: 3
03: 5
04: 32
02:
P18
01: 2
O2: 24
03:
25
Function
IFX=Y
IFX* Y
IFX>Y
IFX<Y
39:
***
89
IF X
COMPARED
TO F
***
FUNCTION
This instruction compares
an
input
location
to a
fixed value and, if the result is
true,
performs
the specified Command. The
comparison
are
given
in
Table 12-5.
PAR. DATA
NO.
TYPE DESCRIPTION
***
90
FUNCTION
Input location
for
X
Comparison
code
(Table
12-5)
Fixed
value
Command
STEP LOOP INDEX
"*
When
used
within
a Loop
(lnstruction
87),
lnstruction 90 will increment
the
index
counter
by a
specified
amount
after the lirst time throug
the loop,
thus
affecting
all
indexed input location
parameters
in
subsequent instructions within
loop.
For
example,
if 4 is specified, the index
counter will count up
by
4
(0,
4,8,12,...)
inside
01: 4
O2: 2
03: FP
04: 2
12-4
P95
Vedere la pagina 131
1 2 ... 127 128 129 130 131 132 133 134 135 136 137 ... 190 191

Commenti su questo manuale

Nessun commento