18/09/2003
HESC-UPS Manual
Tri-M Engineering
Tel:
800.665.5600, 604.945.9565
1407 Kebet Way, Unit 100
Fax:
604.945.95
Port Coquitlam, BC, V3C 6L3
E-mail:
info@tri-m.com
Canada
Web
site:
www.tri-m.com
12
4. BattIavgCmd() 0x0B
Description:
Returns a one-minute rolling average based on the current being supplied (or accepted) through the battery(mA).
Purpose:
The BattIavgCmd() function provides the average current flowing into or out of the battery for the Host power
management system.
Protocol:
Read Word
Output:
signed int -- charge/discharge rate in mA increments - positive for charge, negative for discharge.
Units: mA
Range: 0 to 32,767 mA for charge or
0 to -32,768 mA for discharge
5. BattRemCapCmd() 0x0F
Description:
Returns the predicted remaining battery capacity. The BattRemCapCmd() capacity value is expressed in either
current (mAh at a C/5 discharge rate) or power (10mWh at a P/5 discharge rate) depending on the setting of the
capacity_mode bit.
Purpose:
The BattRemCapCmd() function returns the battery's remaining capacity in absolute terms but relative to a specific
discharge rate.
Protocol:
Read Word
Output:
unsigned int -- remaining charge in mAh or 10mWh
6. ChargerSpecInfoCmd() 0x11
Description:
The Host uses this command to read the charger's extended status bits.
Purpose:
Allows the Host to determine the specification revision the charger supports as well as other extended status
information.
Protocol:
Read Word
Output:
unsigned int - bit mapped - see below
Units: not applicable
Range: not applicable
Table 2, ChargerSpecInfoCmd bit map
Field
Bits Used
Format
Allowable Values
CHARGER_SPEC 0…3 Bit
flag
The
ChargerSpecInfoCmd()
reports the version of the Smart Battery Charger
specification the HESC-SER charger supports. All other values reserved.
0001 – Version 1.0
0010 – Version 1.1
0011 – Version 1.1
SELECTOR_SUPPORT
4
Bit flag 0 - HESC-SER does not support the optional Smart Battery Selector commands
Reserved
5…15
Bit flag These bits are reserved and will return zero.