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
29
Section 8 : Temperature Sensor, TS-IC and Controller, TC-IC
The HESC can support up to a total of 8 TS-IC sensors and TC-IC controllers on the I2C bus. A block of six EEprom
bytes are reserved for each device. The six EEprom bytes have the following names and functions:
1. Byte 0
I2Cconfig#
-
See table below
2. Byte 1
Address byte#
-
Bits 1 to 7 forms the I2C address, bit 0 forms R/W bit. For a read set bit 0 = 1 and for a write set bit 0 = 0.
3. Byte 2 & 3 I2CSetpoint#
4. Byte 4 & 5 I2CHiLoAlarm#.
Table 11, Temperature Sensor and Temperature Controller bit map
Note: The "#" represent the number (0 to 15) of the TC-IC or TS-IC device.
For TC-IC: Setpoint value that will be sent. Value = 0 to 65535.
For TS-IC: Low alarm value. Alarm range = 0 to 65535.
For TC-IC: Low byte = low alarm value, High byte = high alarm value. Value = 0 to 255.
Low alarm setting = I2CSetpoint# - I2CHiLoAlarm# (low byte).
High alarm setting = I2CSetpoint# + I2CHiLoAlarm#(high byte).
Note: if I2Csetpoint < I2ChiLoAlarm#(low byte), then Low alarm setting = 0;
if I2Csetpoint > (65535 - I2ChiLoAlarm#(high byte)), then High alarm setting = 65535;
For TS-IC: High alarm value. Alarm range = 0 to 65535.
Bit# Bit Name Description
0
Cmd bit 0
1
Cmd bit 1
Bit 0 and 1 selects data and/or commands within the TC-IC address. Refer to TC-IC for more details.
For TS-IC, Cmd bit 0 & 1 should be zero. For a write operation the contents of I2CSetpoint# will be sent
as the data. The data returned from a read operation is compared to the alarm settings.
2
MainPwr
Indicates to TC-IC devices that main power is available when = 1. When operating on battery power = 0.
Works for read or write to TC-IC devices. This bit is a don't care for TS-ICs.
3
LimitedPwr Indicates to TC-IC devices that limited power (main or battery) is available.
Works for read or write to TC-IC devices. This bit is a don't care for TS-ICs.
4
ShutDown Indicates to TC-IC devices that the HESC is in timed shutdown mode. HESC outputs will turn off after
the timed shutdown finishes.
Works for read or write to TC-IC devices. This bit is a don't care for TS-ICs.
5
AlarmLoEn Enables low alarm reporting = 1, Disables low alarm reporting = 0.
6
AlarmHiEn Enables high alarm reporting = 1, Disables high alarm reporting = 0;
7
TCICSel
Selects temperature controller (TC-IC) or temperature sensor (TC-IS):
For TC-IC set bit to 1, for TS-IC set bit to 0