Database
This page documents the database associated with the CANmod.temp.
The CANmod.temp signal encoding description file (DBC file) can be downloaded below.
Note
The DBC file is configured to match the default message IDs. If the IDs are changed in the configuration, the DBC file needs to be updated accordingly.
Encoding
Related signals are packed in the same CAN-bus frame. All signals use an encoding method similar to what is used in SAE J1939-71:
Intel byte order (multi byte values are stored least significant byte first)
Values are encoded as unsigned integers which are then offset and scaled
By using encoding based on scaled and offset unsigned integers, the raw signal values can be decoded to physical values using a simple linear transformation:
with:
\(y_{\texttt{PHY}}\): The signal physical value
\(x_{\texttt{RAW}}\): The signal raw value
\(a\): The signal scaling factor
\(b\): The signal offset
Above transformation can be described by DBC (*.dbc) files[1].
Note
Placing byte 0 to the right makes it easy to interpret Intel order data
The remaining of this section is autogenerated from the database (DBC) file.
Messages
Message |
Format |
ID (DEC) |
ID (HEX) |
Bytes |
Description |
---|---|---|---|---|---|
Standard |
1 |
0x001 |
8 |
Standard resolution, all |
|
Standard |
2 |
0x002 |
8 |
High resolution, top |
|
Standard |
3 |
0x003 |
8 |
High resolution, bottom |
Signals
Thermocouple signals
Signal |
Start |
Length |
Factor |
Offset |
Unit |
Description |
---|---|---|---|---|---|---|
CJTemp |
0 |
8 |
1 |
-128 |
\(degC\) |
Cold junction temperature |
8 |
2 |
1 |
0 |
Top-Left status |
||
TLTemp |
10 |
12 |
1 |
-2048 |
\(degC\) |
Top-Left temperature |
22 |
2 |
1 |
0 |
Top-Right status |
||
TRTemp |
24 |
12 |
1 |
-2048 |
\(degC\) |
Top-Right temperature |
36 |
2 |
1 |
0 |
Bottom-Left status |
||
BLTemp |
38 |
12 |
1 |
-2048 |
\(degC\) |
Bottom-Left temperature |
50 |
2 |
1 |
0 |
Bottom-Right status |
||
BRTemp |
52 |
12 |
1 |
-2048 |
\(degC\) |
Bottom-Right temperature |
TLStatus values
Value |
Description |
---|---|
0 |
OK |
1 |
Err1 |
2 |
Err2 |
3 |
Err3 |
TRStatus values
Value |
Description |
---|---|
0 |
OK |
1 |
Err1 |
2 |
Err2 |
3 |
Err3 |
BLStatus values
Value |
Description |
---|---|
0 |
OK |
1 |
Err1 |
2 |
Err2 |
3 |
Err3 |
BRStatus values
Value |
Description |
---|---|
0 |
OK |
1 |
Err1 |
2 |
Err2 |
3 |
Err3 |
ThermocoupleHrTop signals
Signal |
Start |
Length |
Factor |
Offset |
Unit |
Description |
---|---|---|---|---|---|---|
CJTempHRTop |
0 |
16 |
0.015625 |
-512 |
\(degC\) |
Cold junction temperature |
16 |
2 |
1 |
0 |
Top-Left status |
||
TLTempHR |
18 |
22 |
0.0078125 |
-16384 |
\(degC\) |
Top-Left temperature |
40 |
2 |
1 |
0 |
Top-Right status |
||
TRTempHR |
42 |
22 |
0.0078125 |
-16384 |
\(degC\) |
Top-Right temperature |
TLStatusHR values
Value |
Description |
---|---|
0 |
OK |
1 |
Err1 |
2 |
Err2 |
3 |
Err3 |
TRStatusHR values
Value |
Description |
---|---|
0 |
OK |
1 |
Err1 |
2 |
Err2 |
3 |
Err3 |
ThermocoupleHrBottom signals
Signal |
Start |
Length |
Factor |
Offset |
Unit |
Description |
---|---|---|---|---|---|---|
CJTempHRBottom |
0 |
16 |
0.015625 |
-512 |
\(degC\) |
Cold junction temperature |
16 |
2 |
1 |
0 |
Bottom-Left status |
||
BLTempHR |
18 |
22 |
0.0078125 |
-16384 |
\(degC\) |
Bottom-Left temperature |
40 |
2 |
1 |
0 |
Bottom-Right status |
||
BRTempHR |
42 |
22 |
0.0078125 |
-16384 |
\(degC\) |
Bottom-Right temperature |
BLStatusHR values
Value |
Description |
---|---|
0 |
OK |
1 |
Err1 |
2 |
Err2 |
3 |
Err3 |
BRStatusHR values
Value |
Description |
---|---|
0 |
OK |
1 |
Err1 |
2 |
Err2 |
3 |
Err3 |