Table 2.5: LED & Buzzer Control Register

 

 

210H

R/W

DIAG LED Register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

LEDS1

LEDS0

LEDEn

 

 

 

 

 

 

 

 

 

 

211H

R/W

Buzzer Register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SPKS1

SPKS0

SPKEn

 

 

 

 

 

 

 

 

 

 

LEDEn:

=0, DIAG LED disable

 

 

 

=1, DIAG LED enable

 

 

LEDS0 and LEDS1: LED flickering speed setting bit (refer to Table 2.6)

SPKEn:

=0,

Speaker disable

 

=1,

Speaker enable

SPKS0 & SPKS1: Buzzer alarming setting bit (refer to Table 2.7)

Note: UNO-1170 provides built-in examples to show how to configure DIAG LED and Buzzer. 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.6: Programmable LED Control Bit

 

LEDS1

LEDS0

 

 

 

Light on

0

0

 

 

 

Fast flicker

0

1

 

 

 

Normal flicker

1

0

 

 

 

Short flicker

1

1

 

 

 

Table 2.7: Programmable Buzzer Control Bit

 

SPKS1

SPKS0

 

 

 

Beep on

0

0

 

 

 

Short beep

0

1

 

 

 

Normal beep

1

0

 

 

 

Long beep

1

1

 

 

 

UNO-1170 User Manual

16

Page 24
Image 24
Advantech UNO-1170E user manual Programmable LED Control Bit