SECTION 12. PROGRAM CONTROL INSTRUCTIONS
12-4
12:
P89
If X<=>F
01:
25
X Loc DAY
02:
3
>=
03:
6
F
04:
31
Exit Loop if true
13:
P95
End
14:
P87
Beginning of Loop
01:
1
Delay
02:
0
Loop Count
27:
P86
Do
01:
1
Call Subroutine 1
28:
P89
If X<=>F
01:
25
X Loc DAY
02:
3
>=
03:
16
F
04:
31
Exit Loop if true
29:
P95
End
30:
P87
Beginning of Loop
01:
6
Delay
02:
0
Loop Count
36:
P86
Do
01:
1
Call Subroutine 1
37:
P89
If X<=>F
01:
25
X Loc DAY
02:
3
>=
03:
5
F
04:
32
Exit Loop if false
38:
P95
End
39:
P
End Table 1
*
3
Table 3 Subroutines
01:
P85
Beginning of Subroutine
01:
1
Subroutine Number
02:
P18
Time
01:
2
Hours into current year
(maximum 8784)
02:
24
Mod/by
03:
25
Loc [:DAY ]
03:
P95
End
*** 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
01:
4
Input location for X
02:
2
Comparison code (Table 12-5)
03:
4
Input location for Y
04:
2
Command (Table 12-2)
Input locations altered: 0
Execution time:
0.6ms
TABLE 12-5. Comparison Codes
Parameter 1
Function
1
IF X = Y
2
IF X
≠
Y
3
IF X
≥
Y
4
IF X < Y
*** 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 codes
are given in Table 12-5.
PAR.
DATA
NO.
TYPE
DESCRIPTION
01:
4
Input location for X
02:
2
Comparison code (Table 12-5)
03:
FP
Fixed value
04:
2
Command (Table 12-2)
*** 90 STEP LOOP INDEX ***
FUNCTION
When used within a Loop (Instruction 87),
Instruction 90 will increment the index counter
by a specified amount after the first time
through the loop, thus affecting all indexed input
location parameters in subsequent instructions
within the loop. For example, if 4 is specified,
the index counter will count up by 4 (0, 4, 8,
12,...) inside the loop. Instruction 90 does not
affect the loop counter which still counts by 1.
Содержание CR7
Страница 2: ...This is a blank page ...
Страница 4: ...This is a blank page ...
Страница 28: ...CR7 MEASUREMENT AND CONTROL SYSTEM OVERVIEW OV 18 This is a blank page ...
Страница 38: ...SECTION 1 FUNCTIONAL MODES 1 10 This is a blank page ...
Страница 42: ...SECTION 2 INTERNAL DATA STORAGE 2 4 This is a blank page ...
Страница 52: ...SECTION 3 INSTRUCTION SET BASICS 3 10 This is a blank page ...
Страница 57: ...SECTION 4 EXTERNAL STORAGE PERIPHERALS 4 5 FIGURE 4 4 1 Example of CR7 Printable ASCII Output Format ...
Страница 58: ...SECTION 4 EXTERNAL STORAGE PERIPHERALS 4 6 This is a blank page ...
Страница 68: ...SECTION 6 9 PIN SERIAL INPUT OUTPUT 6 6 This is a blank page ...
Страница 140: ...SECTION 13 CR7 MEASUREMENTS 13 16 FIGURE 13 5 1 Circuits Used with Instructions 4 9 ...
Страница 162: ...APPENDIX A GLOSSARY A 4 This is a blank page ...
Страница 164: ...B 2 This is a blank page ...
Страница 170: ...APPENDIX C BINARY TELECOMMUNICATIONS C 6 This is a blank page ...
Страница 173: ...APPENDIX D CALIBRATION PROCEDURES D 3 FIGURE D 2 1 Calibration Points for the Analog Interface Card ...
Страница 174: ...APPENDIX D CALIBRATION PROCEDURES D 4 FIGURE D 2 2 CR7X CPU Card ...
Страница 186: ...CR7 INDEX I 8 This is a blank page ...