3 calibration, 4 reserved eeprom locations – Sensoray 2600 User Manual

Page 31

Advertising
background image

Sensoray 2600 Programming Guide

27

Gateway Action Scheduling

will cause the corresponding channel to be programmed for the 100 millivolt measurement range. The following table shows the
relevant attributes for all supported input types. The enumerated input type names are defined in the

App2600.h

header file.

7.4.3 Calibration

Calibration is achieved by storing values in the 2608 module’s EEPROM. Values may be stored in the EEPROM by calling

S26_2608_WriteEeprom()

, and stored values may be retrieved by calling

S26_Sched2608_ReadEeprom()

.

Various EEPROM locations are reserved for calibration values as described in section 7.4.4. All calibration values are multi-byte
values that are stored in little-endian byte order.

7.4.4 Reserved EEPROM Locations

As shown in the following table, the first 176 EEPROM locations are reserved for calibration and configuration data:

7.4.5 S26_Sched2608_SetTempUnits()

Function:

Schedules the setting of temperature units for thermocouple data returned from a model 2608 IOM.

Enumerated Type

Resolution

Data Units

Description

RAW_LG_TYPE

1 count

ADC counts

Corrected ADC counts, 10V range. This is the default type.

RAW_HG_TYPE

1 count

ADC counts

Corrected ADC counts, 100mV range.

V_10_TYPE

320 µV

Volts

Measured voltage, 10V range.

V_001_TYPE

3.2 µV

Volts

Measured voltage, 100mV range.

TC_B_TYPE

0.457 °C @ 800 °C

°C or °F

B thermocouple.

TC_C_TYPE

0.168 °C @ 800 °C

°C or °F

C thermocouple.

TC_E_TYPE

0.0478 °C @ 100 °C

°C or °F

E thermocouple.

TC_J_TYPE

0.0593 °C @ 100 °C

°C or °F

J thermocouple.

TC_K_TYPE

0.0762 °C @ 100 °C

°C or °F

K thermocouple.

TC_N_TYPE

0.107 °C @ 100 °C

°C or °F

N thermocouple.

TC_R_TYPE

0.267 °C @ 800 °C

°C or °F

R thermocouple.

TC_S_TYPE

0.291 °C @ 800 °C

°C or °F

S thermocouple.

TC_T_TYPE

0.0696 °C @ 100 °C

°C or °F

T thermocouple.

Address

Data Type

Description

0

u8

Number of analog output channels present on the 2608 module. This is factory programmed and
should never be changed.

1 to 11

--

Reserved for future use.

12

u32

Exact voltage of 10V reference standard, times 1e6.

16

u32

Exact voltage of 100mV reference standard, times 1e6.

20+6*CHAN

s16

Raw binary value that would be programmed onto analog output channel CHAN in order to produce
exactly zero volts out. This typically has a value between -15 and +15.

22+6*CHAN

u32

Scalar, times 1e6, that is applied to values programmed onto analog output channel CHAN to
compensate DAC full scale error. The scalar value is typically within ±5% of 1.0.

68+2*CHAN

s16

Raw binary value that must be subtracted from on-board reference temperature sensor CHAN to
compensate its offset temperature.

84

u8

Checksum of all stored bytes from address 0 through 83.

85 to 175

--

Reserved for future use.

176 to 255

--

Available for application use.

Advertising