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:
Canada
Web
site:
www.tri-m.com
18
Output:
unsigned int – value from ADC converter
Units: ADC converter value
Range: data range is 0 to 65,535
Description:
Returns the main input voltage (mV).
16. MainVCmd()
(0x91)
Purpose:
The MainVCmd()
function provides the Host power management system with an accurate main input voltage. The
Host management system can use this voltage, along with main input current information to help enable intelligent,
adaptive power management systems.
Protocol:
Read Word
Output:
unsigned int – main input voltage in mV
Units: mV
Range: 0 to 65,535
17. MainICmd()
(0x92)
Description:
Returns the current being supplied to the HESC (mA).
Purpose:
The MainICmd()
function provides the Host power management system an accurate measure of the current flowing
into the HESC. The current being report by the MainICmd() will be either from the main input or battery or some from
both inputs if both the main input and battery are the same potential. Compare the voltages returned by BattIVCmd()
and the MainVCmd() to determine the source of the power.
Protocol:
Read Word
Output:
unsigned int – input current rate in mA increments
Units: mA
Range: 0 to 65,535
18. InputPwrCmd()
(0x93)
Description:
Returns the power being supplied to the HESC.
Purpose:
The InputPwrCmd()
function provides the Host power management system a measure of the power flowing into the
HESC-SER. The power being report by the InputPwrCmd() will be either from the main input or battery or some from
both inputs if both the main input and battery are the same potential. Compare the voltages returned by BattIVCmd()
and the MainVCmd() to determine the source of the power.
Protocol:
Read Word
Output:
unsigned int – input power in 10mW increments
Units: 10mW
Range: 0 to 65,535
19. BattPwrCmd()
(0x94)
Description:
Returns the power being charged/discharge to the battery through the HESC.