SECTION 12. PROGRAM CONTROL INSTRUCTIONS
12-5
location parameters in subsequent instructions.
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.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
01:
2
Increment for the loop
index counter
*** 91 IF FLAG / PORT / MODEM ***
FUNCTION
This Instruction checks the status of one of the
eighteen Flags, one of the eight ports, or the
serial I/O port modem enable and conditionally
performs the specified Command. Ports can be
indexed (--) with the C key.
The first Parameter specifies the condition to check:
1X
Execute command if Flag X is high
2X
Execute command if Flag X is low
4Y
Execute command if port Y is high
5Y
Execute command if port Y is low
40
Execute command if CS I/O modem
is on
50
Execute command if CS I/O modem
is off
49
Execute command if SW12V is off
59
Execute command if SW12V is off
X = 0-9, 11-18 Y = 1-8
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
01:
2
Flag or Port condition to
check
02:
2
Command (Table 12-2)
*** 92 IF TIME IS ***
FUNCTION
The user specifies the number of minutes or
seconds into an interval, the duration of the
interval, and a command. The command is
executed each time the real time is the
specified time into the interval. The "If"
condition will always be false if 0000 is entered
as the time interval.
The time interval is synchronized with real time; if a
60 minute time interval is specified with 0 minutes
into the interval, the Command will be executed
each hour on the hour. The time interval is
synchronized internally by making a modulo divide
(Instruction 46) of the number of minutes since
midnight by the specified real time interval. If the
result is 0, the interval is up. Thus, the first interval
of the day always starts at midnight (0 minutes).
The maximum interval is 1440 minutes.
The time into an interval is only true the first
time Instruction 92 is executed within a given
minute (or second). For example, if the
command is to set the Output Flag at 0 minutes
into a 10 minute interval, and the execution
interval of the table is 10 seconds, every 10
minutes there will only be one output generated
by this instruction, not five.
The time into interval and the interval may be
entered in seconds for intervals less than 60
seconds. Error 92 will occur if these
parameters are too large.
To enter the times in seconds, press "C" after
keying in the number of seconds into the interval
for Parameter 1; two dashes will appear to the
right of the number (XXXX--). When the time
into interval is entered as seconds (XXXX--), the
time interval will also be interpreted as seconds.
The maximum number of seconds that can be
entered is 59 for Parameter 1 and 60 for
Parameter 2.
The Output Flag (Flag 0) is a special case in that it
will automatically be cleared if it is not time to set it.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
01:
4
Time into interval
(minutes or seconds if
entered XXXX--)
02:
4
Time interval (units
same as above)
03:
2
Command (Table 12-2)
*** 93 BEGIN CASE STATEMENT ***
The value in the specified input location is
compared against parameters in following If
Case instructions (83). When a comparison is
true, the command in the If Case instruction is
executed and the program flow goes to the End
instruction (95) associated with the Begin Case
instruction.
Содержание CR23X
Страница 8: ...CR23X TABLE OF CONTENTS vi This is a blank page ...
Страница 12: ...CR23X MICROLOGGER OVERVIEW OV 2 1 2 3 A 4 5 6 B 7 8 9 C 0 D FIGURE OV1 1 CR23X Micrologger ...
Страница 34: ...CR23X MICROLOGGER OVERVIEW OV 24 This is a blank page ...
Страница 50: ...SECTION 1 FUNCTIONAL MODES 1 16 This is a blank page ...
Страница 72: ...SECTION 4 EXTERNAL STORAGE PERIPHERALS 4 8 This is a blank page ...
Страница 88: ...SECTION 6 9 PIN SERIAL INPUT OUTPUT 6 10 This is a blank page ...
Страница 103: ...SECTION 7 MEASUREMENT PROGRAMMING EXAMPLES 7 15 CR23X AVW1 FIGURE 7 15 2 Well Monitoring Example ...
Страница 110: ...SECTION 7 MEASUREMENT PROGRAMMING EXAMPLES 7 22 This is a blank page ...
Страница 134: ...SECTION 8 PROCESSING AND PROGRAM CONTROL EXAMPLES 8 24 This is a blank page ...
Страница 164: ...SECTION 9 INPUT OUTPUT INSTRUCTIONS 9 30 This is a blankpage ...
Страница 188: ...SECTION 11 OUTPUT PROCESSING INSTRUCTIONS 11 8 This is a blankp age ...
Страница 221: ...SECTION 13 CR23X MEASUREMENTS 13 21 FIGURE 13 5 1 Circuits Used with Instructions 4 9 ...
Страница 229: ...14 3 1 2 3 A 4 5 6 B 7 8 9 C 0 D FIGURE 14 3 1 CR23X Battery Pack and Panel ...
Страница 239: ...SECTION 14 INSTALLATION AND MAINTENANCE 14 13 S A N Y O FIGURE 14 11 6 Removal of band clamp and battery ...
Страница 240: ...SECTION 14 INSTALLATION AND MAINTENANCE 14 14 This is a blank page ...
Страница 244: ...APPENDIX A GLOSSARY A 4 This is a blank page ...
Страница 268: ...APPENDIX B CONTROL PORT SERIAL I O INSTRUCTION 15 B 24 This is a blank page ...
Страница 276: ...APPENDIX C BINARY TELECOMMUNICATIONS C 8 This is a blank page ...
Страница 278: ...This is a blank page ...
Страница 282: ...APPENDIX F DYNAGAGE SAP FLOW P67 F 4 This is a blank page ...
Страница 299: ...APPENDIX I TD OPERATING SYSTEM ADDENDUM FOR CR510 CR10X AND CR23X MANUALS ...
Страница 300: ...This is a blank page ...
Страница 302: ...This is a blank page ...
Страница 308: ...TABLE DATA ADDENDUM AD 6 This is a blank page ...
Страница 324: ...TD ADDENDUM SECTION 1 FUNCTIONAL MODES AD 1 8 This is a blank page ...
Страница 340: ...TD ADDENDUM SECTION 8 PROCESSING AND PROGRAM CONTROL EXAMPLES AD 8 10 This is a blank page ...
Страница 342: ...This is a blank page ...
Страница 373: ...This is a blank page ...