Campbell CR800 Specifikace Strana 260

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 324
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 259
Section 9. Program Control Instructions
Parameter
& Data Type
Enter
TimNo
Constant,
Variable, or
Expression
An integer number for the timer (e.g., 0, 1, 2, . . .) Use low numbers to
conserve memory; using TimNo 100 will allocate space for 100 timers even
if it is the only timer in the program.
Units
The units in which to return the timer value.
Constant
Alpha
Code
Numeric
Code
Units
USEC 0 microseconds
MSEC 1 milliseconds
SEC 2 seconds
MIN 3 minutes
TimOpt
Constant
The action on the timer. The timer function returns the value of the timer
after the action is performed
Code Result
0 start
1 stop
2 reset and start
3 stop and reset
4 read only
WaitDigTrig (Port, Edge)
The WaitDigTrig instruction can be executed within a Scan/NextScan
sequence or it can be executed outside a scan (most commonly in a
SlowSequence).
When used inside a scan, execution of the scan is paused until WaitDigTrig is
true (that is, the specified control port rises or falls). When the scan starts, the
time stamp will be incremented by the interval specified by the Scan
instruction. This allows a clock source other than the datalogger’s internal
clock to control the timing of the measurements. This outside clock source
could be a GPS clock or the clock of another “master” datalogger where a
logic level line is connected from the clock source to one of the control ports
on the datalogger.
When used outside a scan, WaitDigTrig behaves similarly to a Delay
instruction, though the delay is based on the rising or falling edge of a control
port instead of based on time. In this instance, the WaitDigTrig instruction can
be placed inside an infinite Do/Loop, and the remaining instructions in that
loop will be performed only when WaitDigTrig is true.
The priority for performing the tasks triggered by this instruction will differ
depending upon whether the datalogger is executing its program in pipeline
mode or sequential mode. Refer to section OV 2.3 for additional information.
Note: If the program is running in sequential mode and has a slow sequence
that includes a WaitDigTrig instruction, once triggered, that sequence will not
be able to perform any measurement tasks when the main scan is running. The
slow sequence will pause before its first measurement instruction, until the
main scan is completed, after which it will continue. If the slow sequence
9-20
Zobrazit stránku 259
1 2 ... 255 256 257 258 259 260 261 262 263 264 265 ... 323 324

Komentáře k této Příručce

Žádné komentáře