Counter/Timer Subsystem
C-23
Digital I/O Data Lost
The hardware cannot detect Digital I/O data overruns so DriverLINX
does not send the DL_DATALOST message when digital overruns occur.
Counter/Timer Subsystem
The DAS-1800 uses an Intel 8254 Programmable Interval Timer that
consists of three internal 16-bit counters, Counter 0, Counter 1, and
Counter 2. For A/D pacing, the DAS-1800 boards operate Counters 1 and
2 in a fixed divider, 32-bit configuration. The input of Counter 1 connects
to a 5MHz crystal oscillator and the output of Counter 1 connects to the
input of Counter 2. The DAS-1800 uses Counter 0 for trigger delay and
its input, output, and gate control are not available.
Although the DAS-1800 uses a chip that has three counters, it ties two of
them together internally (Counters 1 and 2) and dedicates the third to
internal functions. Therefore, DriverLINX implements only one logical
counter, Logical counter 0, which corresponds to the internal A/D pacing
clock (8254 counters 1 and 2). You can use Logical counter 0 to pace
Analog Output or Digital I/O tasks indirectly through hardware
interrupts. The DAS-1800AO has an additional counter/timer for
supporting timed Analog Output tasks in hardware. DriverLINX
implements two logical counters in this case, Logical counter 0, which
corresponds to the internal A/D pacing clock, and logical counter 1,
which corresponds to the internal D/A pacing clock.
Counter/Timer Initialization
Power-up state of the counters is undefined. Initialization establishes the
state of each counter as a binary rate generator with a down count of
65535.
Counter/Timer Interrupt
DriverLINX supports counter/timer interrupts indirectly. You can set up
an INTERRUPT mode A/D task and use the interrupts to pace the
counter/timer task.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com