The c2000bat ups control board, Controlling the lcd background illumination – BECKHOFF C1230S User Manual
Page 10

Eiserstraße 5 / D-33415 Verl / Phone 05246/963-0 / Fax 05246/963-149
10
ISA Bus interface card C1230S
C1230S
The C2000BAT UPS Control Board
Uninterruptible power
supply
An industry PC with a 24 V power supply can optionally be fitted with an
uninterruptible power supply, which maintains correct operation of the
device for about 15 minutes by means of a NiCad battery after failure of the
main power supply.
Configure the component
Control is exercised by the C2000BAT UPS control board. It is accessed
through the parallel input/output chip located in the address range from
230H to 233H. The value 93H must be written into the control register at
address 233H in order to configure the component.
Register
Address
Function
Port A
230H
not used
Port B
231H
Read the charge state
Port C
lower half
232H bit 0-3
Various inputs
Port C
upper half
232H bit 4-7
Various outputs
Control
register
233H
For this configuration: 10010011B = 93H
Port C
Address 232H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Output
Input
UPS
active/
passive
not
used
not
used
LC
display
illumi-
nation
external
supply
voltage
Battery
voltage
not
used
Interro-
gation of
LCD
switch
0=passive
1= active
0= off
1= on
0= failed
1= OK
0=U<16 V
1=U>16 V
0= on
1= off
Controlling the LCD Background
Illumination
Switch for the LCD
background illumination
In devices with a uninterruptible power supply built in, the side of the
computer’s housing has a switch for the LC display’s background
illumination.
The background illumination can also be controlled by the software through
bit 4 of port C. Setting the bit switches the illumination on.
If the software clears bit 4, so switching the background illumination off,
you can switch it on again with this switch. The position of the switch can
be interrogated through bit 0 of port C in the input/output component
belonging to the multi-function board at address 232H.