Specifications

TP-5700/5800 series Technical Manual 5 - 6
Ÿ To enable UPS function: <06> <16> <19> <1F> <05> or <1B> <00> <00>
<00> <00> <18> <00> <18>
Ÿ To disable UPS function: <06> <16> <19> <1F> <04> or <1B> <00>
<00> <00> <00> <18> <18> <00>
UPS DETECTION FUNCTION
In the Jiva SL (TP5700) & Jiva EL (TP5800) series products, when the system
is working on UPS battery power, the status is indicated by LED and is detectable by
software. This “operating on battery” signal can be obtained through checking the
communication status of COM1 at signal DCD provided this signal is not engaged
elsewhere (In other words, Modem 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 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 is capable to detect the existence / status of UPS battery and to
respond 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 Battery-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 battery-detect capability of the system is operating.
“Check Battery Condition” 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 battery responds correctly to the battery detect.
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