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
21
24. SDSUCauseCmd()
(0x99)
Description:
The Host uses this command to read the cause(s) of the current SDreq and SUreq.
Purpose:
Allows the System Host to determine how to adjust shut-down or start-up procedures.
Protocol:
Write Word
Input:
unsigned int - bit mapped - see below
Units: not applicable
Range: not applicable
Table 7, SDSUCauseCmd bit map
Bit# Action
Bit Name
Cause of Start-Up request
0
SUreq = 1 ChFlags.SUreq
Power applied to HESC with ChFlags.SUreq set
1
SUreq = 1 PowerSupplyStatusCmd (0x98) Bit 7 set during PowerSupplyStatusCmd write
2
SUreq = 1 IGN-SD
Received a start-up request from the IGN input
3
SUreq = 1 PB-SD
Received a start-up request from the Pushbutton input
4 Not
used
5 Not
used
6 Not
used
7 Not
used
Bit# Action
Bit Name
Cause of Shut-Down request
8
SDreq = 1 Main Power
Loss of main power
9
SDreq = 1 PowerSupplyStatusCmd (0x98) Bit 8 set during PowerSupplyStatusCmd write
10
SDreq = 1 IGN-SD
Received a shut-down request from the IGN input
11
SDreq = 1 PB-SD
Received a shut-down request from the Pushbutton input
12
SDreq = 1 ShutDownCmd (0x97)
Command received from Host
13
SDreq = 1 Battery Low
Battery low voltage or battery low capacity
14 Not
used
15 Not
used
25.
ActiveEEcmd() (0xA0)
Description:
The Host uses this command to set the address for reading/writing to EEProm.
Purpose:
Allows the System Host to change charging profiles and HESC setup.
Protocol:
Write Word
Input:
unsigned int, Low byte = location 0 to 127, High byte: no auto increment = 0; auto increment = 1
Units: not applicable