SECTION 12. PROGRAM CONTROL INSTRUCTIONS
12-2
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
01:
2
Subroutine number
(1-9, 79-99)
*** 86 DO ***
FUNCTION
This Instruction unconditionally executes the
specified command.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
01:
2
Command (Table 12-2)
*** 87 LOOP ***
FUNCTION
Instructions included between the Loop
Instruction and the End Instruction (95) are
repeated the number of times specified by the
iteration count (Parameter 2), or until an Exit
Loop command (31,32) is executed by a
Program Control Instruction within the Loop. If
0 is entered for the count, the loop is repeated
until an Exit Loop command is executed.
The first parameter, delay, controls how
frequently passes through the loop are made.
Its units are multiples of the table execution
interval. A delay of 0 means that there is no
delay between passes through the loop. Each
time the table is executed all iterations of the
loop will be completed and execution will pass
on to the following instructions. If the delay is
5, every fifth time that the execution interval
comes up, one pass through the loop is made;
only those instructions in the loop will be
executed and other portions of the table are not
executed in the interim. When a loop with
delay is executed, the next execution starts at
the loop, skipping over any previous and
following instructions in the table.
When a fixed number of iterations are
executed, the time spent in the loop is equal to
the product of the execution interval, delay, and
the number of iterations. For example, a loop
with a delay of 1 and a count of 5 will take 5
seconds if the execution interval is 1 second.
When the loop is first entered, one pass
through the loop is made, then the CR10 delays
until the next execution interval and makes the
second pass through the loop. After making
the fifth pass through the loop, there is the fifth
delay, after which execution passes to the
instruction following the END instruction which
goes with the loop.
While in a loop with delay, the table will not be
initiated at each execution interval. (However,
the overrun decimals will not be displayed.)
Some consequences of this are: The Output
Flag will not be automatically cleared between
passes through the loop. Because Table 2
cannot interrupt Table 1, Table 2 will not be
executed while Table 1 is in a loop with delay.
Table 1 will not interrupt Table 2 in the middle
of an output array. Thus, if the Output Flag is
set in Table 2 prior to entering the loop or within
the loop, the flag must be specifically cleared
before the end of the pass if Table 1 is to be
executed.
Input locations for Processing Instructions
within a loop can be entered as Indexed
locations. An Indexed location causes the input
location to be incremented by 1 with each pass
through the loop. (The Index counter is added
to the location number in the program table.)
Input locations which are not indexed will
remain constant.
To specify an Indexed location, depress the C
key at some point while keying in the digits for
the input location and before entering the
location with the A key. Two dashes, --, appear
in the two right most characters of the display,
indicating the entry is Indexed.
When the same output processing is required
on values in sequential input locations, it must
be accomplished by using the repetitions
parameter of the Output Instruction, not by
indexing the input location within a loop.
An Output Instruction within a loop is allotted
the same number of Intermediate Storage
locations as it would receive if it were not in the
loop. For example, the average instruction with
a single repetition is allotted only two
Intermediate locations: one for the number of
samples and one for the running total. Each
time through the loop the sample counter is
incremented and the value in the referenced
input location is added to the total. If the input
location is indexed, the values from all input
locations are added to the same total.
Содержание CR10 PROM
Страница 2: ...This is a blank page ...
Страница 4: ...This is a blank page ...
Страница 9: ...CR10 TABLE OF CONTENTS v LIST OF TABLES LT 1 LIST OF FIGURES LF 1 INDEX I 1 ...
Страница 10: ...CR10 TABLE OF CONTENTS vi This is a blank page ...
Страница 14: ...CR10 OVERVIEW OV 2 ...
Страница 15: ...CR10 OVERVIEW OV 3 FIGURE OV1 1 1 CR10 and Wiring Panel ...
Страница 16: ...CR10 OVERVIEW OV 4 FIGURE OV1 1 2 CR10 Wiring Panel Instruction Access ...
Страница 17: ...CR10 OVERVIEW OV 5 ...
Страница 34: ...CR10 OVERVIEW OV 22 ...
Страница 35: ...CR10 OVERVIEW OV 23 FIGURE OV6 1 1 Data Retrieval Hardware Options ...
Страница 36: ...CR10 OVERVIEW OV 24 OV7 SPECIFICATIONS ...
Страница 37: ...CR10 OVERVIEW OV 25 ...
Страница 38: ...CR10 OVERVIEW OV 26 ...
Страница 51: ...SECTION 1 FUNCTIONAL MODES 1 13 This is a blank page ...
Страница 53: ...2 2 ...
Страница 62: ...SECTION 3 INSTRUCTION SET BASICS 3 6 ...
Страница 63: ...SECTION 3 INSTRUCTION SET BASICS 3 7 ...
Страница 68: ...SECTION 3 INSTRUCTION SET BASICS 3 12 This is a blank page ...
Страница 74: ...SECTION 4 EXTERNAL STORAGE PERIPHERALS 4 6 ...
Страница 79: ...SECTION 4 EXTERNAL STORAGE PERIPHERALS 4 11 10 0X X is current address enter address to change to 1 8 ...
Страница 88: ...6 5 FIGURE 6 6 1 Addressing Sequence for the RF Modem ...
Страница 110: ...SECTION 7 MEASUREMENT PROGRAMMING EXAMPLES 7 17 FIGURE 7 16 2 Well Monitoring Example ...
Страница 132: ...SECTION 8 PROCESSING AND PROGRAM CONTROL EXAMPLES 8 13 This is a blank page ...
Страница 197: ...SECTION 13 CR10 MEASUREMENTS 13 18 FIGURE 13 5 1 Circuits Used with Instructions 4 9 ...
Страница 203: ...SECTION 13 CR10 MEASUREMENTS 13 24 This is a blank page ...
Страница 215: ...SECTION 14 INSTALLATION AND MAINTENANCE 14 12 This is a blank page ...
Страница 218: ...APPENDIX A GLOSSARY A 3 and computers in a terminal mode fall in this category ...
Страница 220: ...APPENDIX A GLOSSARY A 5 This is a blank page ...
Страница 228: ...APPENDIX C BINARY TELECOMMUNICATIONS C 6 This is a blank page ...
Страница 230: ...This is a blank page ...
Страница 232: ...This is a blank page ...
Страница 234: ...APPENDIX G CHANGING RAM OR PROM CHIPS G 2 FIGURE G 1 Disassembling CR10 ...
Страница 235: ...APPENDIX G CHANGING RAM OR PROM CHIPS G 3 FIGURE G 2 Jumper Settings for Different RAM Configurations in Early CR10s ...
Страница 236: ...APPENDIX G CHANGING RAM OR PROM CHIPS G 4 FIGURE G 3 Jumper Settings and Locations ...
Страница 237: ...APPENDIX G CHANGING RAM OR PROM CHIPS G 5 This is a blank page ...
Страница 241: ...LIST OF TABLES LT 4 This is a blank page ...
Страница 253: ...CR10 INDEX I 10 This is a blank page ...