TP-5815 Pro series Technical Manual 5 - 7
UPS BATTERY HEALTH CHECK
The UPS battery health check watchdog function is introduced in the Posiflex
Power Switch Manager utility version 1.03 onwards. This function helps checking the
UPS battery condition and automatically popping up warning message window to
remind the user of a possibly failed battery so that the user won’t have to bother
checking in the Posiflex Power Switch Manager personally every time.
Listed below are command code strings to COM1 port under protocol: 9600
bps, parity none, 8 data bits, 1 stop bit for reference if the software programmer wants
to issue separate commands directly:
Ÿ
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>
Ÿ
“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 last 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.
In this product, 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