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
20
Allows the Host CPU to do an orderly shut down of files and it’s operating system before power the HESC outputs are
turned off. A read using ShutDownCmd() will return the number of seconds until the HESC outputs are turned off. If a
shutdown is not in-progress the ShutDownCmd() will return 0xFFFF. A write with value equal to zero is the results in
the shortest shut down. ShutDownCmd() does not over-right the EEProm default values.
Protocol:
Write/Read Word
Output:
unsigned int – shut down time in seconds
Units: seconds
Range: data range is 0 to 65,535 seconds
23. PowerSupplyStatusCmd() (0x98)
Description:
The Host uses this command to read or set the various power supply modes.
Purpose:
Allows the System Host to configure the power supply and change the default modes.
Protocol:
Write Word
Input:
unsigned int - bit mapped - see below
Units: not applicable
Range: not applicable
Table 6, PowerSupplyStatusCmd bit map
Bit# Bit Name
Description
0
BattAutoStartEn* Charging is to autostart when the HESC is reset, main power is removed then re-applied, or
when a new battery is inserted. 1 = enable, 0 = disable
1
TermEn*
Charge termination is enabled when TermEn is set. 1 = enable, 0 = disable
2
SMBactiveEn
The HESC to function as a level 3 SMBus charger. 1 = enable, 0 = disable
3
IgnHiOffEn
When IgnHiOff is set, the HESC-SER will begin shutdown procedures when the Ign pin is
high. If IgnHiOff is low, the HESC-SER will begin shutdown procedures when the Ign pin is
low. The shutdown procedure will finish once shutdown is started.
4
BattIsolateEn*
The HESC de-activates the battery enable line (BE) after the power supply enters the
shutdown mode.
5
SMBtimingEn
Observes the minimum timing requirements for SMBus compatibility.
1 = enable, 0 = disable
6
Then*
Thermistor monitoring select, 1 = enable, 0 = disable
7
SU_Req
Start up request is registered or active
8
SD_Req
Shut down request is active
9
I2ClowAlarm
A I2C sensor/controller is in low alarm = 1, normal = 0
10
I2ChighAlarm
A I2C sensor/controller is in high alarm = 1, normal = 0
11
IGNinput
Status of ignition input
12
SDinput
Status of Shut Down input
13
Chen
Charger is enabled and ready to charge (read only)
14
LowPwrMode
HESC is in low or limited power mode
15
ChecksumEn
Checksum protocol in effect on SerBus or PC/104 bus