User manual

35 Chapter 2
2.12.10
Cascaded 32-bit Counter
You can also cascade
counter
0
and
counter 1 together
as one 32-bit coun-
ter/timer, and its
configured
by control bit
- CTR32Set.
2.13 LED and Buzzer for System Diagnosis
In
a “headless application” (an
application
without a
monitor display), it is
always
difficult
to
know the system status. Another
PC
may be needed to
monitor a headless device's status via RS-232 or
Ethernet. In
order
to
solve this problem, UNO-4672 offers
a programmable LED
indicator and
buzzer.
They can be programmed
to show a
systems status by
LED indica-
tor flickering
and buzzer
alarm.
Table 2.25: 32-bit Counter Control Bit
0 Disable (Default)
1 Cascade counter 0 and counter 1 into one 32-bit counter
Note: UNO-4672 provides built-in examples to show how
to deliver counter functionality. Refer to console
mode examples in C:\Program Files\Advan-
tech\UNO\UNO_IsaDIO\Examples\Console. (Please
install DI/O driver from the UNO CD to use these
examples)
Table 2.26: LED & Buzzer Control Register
Base
Address
765432 1 0
210H R/W DIAG LED Register
LEDS1 LEDS0 LEDEn
211H R/W Buzzer Register
SPKS1 SPKS0 SPKEn
214H R/W LED 0~7
LED7 LED6 LED5 LED4 LED3 LED2 LED1 LED0