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
17
12. GetVersionCmd()
(0x3E)
Description:
This function returns the firmware version number of the HESC.
Purpose:
The
GetVersionCmd()
function is used to identify a particular battery. This may be important in systems that take
advantage of enhanced or custom features of a particular HESC revision.
Protocol:
Write Word
Output:
High byte - major revision
Low byte - minor revision
13. SerialNumber()
(0x3F)
Description:
This function returns the serial number of the HESC and the model name. For the HESC-SER models, "HESC-SER"
is returned, and for the HESC104 models, "HESC104 " is returned. The eight digit serial number is appended to the
end of the model name.
Purpose:
The SerialNumber() function identifies a particular HESC.
Protocol:
Read Block
Output:
string – Eight character string of the model name followed by an eight character string of the serial number
.
14. GetI2CTempCmd0()
(0x80)
to GetI2CTempCmd15() (0x8F)
Description:
The HESC returns the requested I2C temperature to the Host CPU.
Purpose:
The Host can perform power management and control functions with this information. Remote cooling fans or heater
can be started if temperatures exceed safe limits.
Protoco
l: Read Word
Output:
unsigned int – temperature in 0.1K
Units: 0.1K
Range: data range is 0 to 65,535
15. TempThCmd()
(0x90)
Description:
The HESC returns the thermistor value to the Host CPU.
Purpose:
The thermistor monitors the battery temperature, and for the SMBus is a secondary safety device. The Host CPU can
use this information to determine the battery performance. The high byte is used by the HESC to determine the
battery state, such as BattNew, BattGone, etc.
Protoco
l: Read Word