KS-6615 / KS-6617 series Technical Manual 5 - 7
is not recommended to be used on COM1). When the system is working on AC power,
the DCD signal of COM1 is reset (value = 0). When the system is working on battery
power, the DCD signal of COM1 (BATTWK signal) is set (value = 1). The DCD
signal is obtained as the bit 7 (the most significant bit) of the I/O address 3FEh if the
COM1 address is set to 3F8h~3FFh (conventional address for COM1) in system
configuration.
There is further an auto detect function on the existence of a healthy UPS
battery provided. This capability supports the Posiflex software installed in the
preloaded operating system of Windows to enable or disable the UPS function
automatically as long as it is initialized. The system detects and registers the existence
of UPS battery after the system is switched on (Note: Connect/Disconnect UPS battery
only when AC source removed). The system then responds to 2 query command
strings. These 2 query command strings have to be sent as usual to COM1 under
protocol: 9600 bps, parity none, 8 data bits, 1 stop bit. The system changes DCD
status of COM1 as response.
“Check Auto-Detect Capability” command string is <1B> <00> <00> <00>
<00> <18> <00> <00> in hexadecimal format. And the DCD of COM1 will be set for
a period of time if the UPS unit supports Auto-detect capability.
“Battery Health Check” command string is <1B> <00> <00> <00> <00> <18>
<18> <18> in hexadecimal format. And the DCD of COM1 will be set for a period of
time if the UPS unit supports Auto-detect capability and the battery was detected as
workable.
The period of time in these 2 responses starts after several machine cycles since
receival of the query command and stops about 15 seconds later or whenever another
query command is received. It is advisable to take a check on the response between 1
to 10 seconds after sending the query command and to send the other query command
only after first response checked to avoid any possible ambiguity.
All the above mentioned functions are included in the “Posiflex Power Switch
Manager” within the preloaded OS for user’s convenience as described in “POSIFLEX
TOOLS” later in this chapter.