Database
This page documents the database associated with the CANmod.input.
The CANmod.input 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 |
4 |
||
Standard |
2 |
0x002 |
8 |
||
Standard |
3 |
0x003 |
8 |
||
Standard |
4 |
0x004 |
16 |
||
Standard |
5 |
0x005 |
8 |
||
Standard |
6 |
0x006 |
8 |
||
Standard |
7 |
0x007 |
8 |
||
Standard |
8 |
0x008 |
8 |
||
Standard |
9 |
0x009 |
8 |
||
Standard |
10 |
0x00A |
8 |
||
Standard |
11 |
0x00B |
8 |
||
Standard |
12 |
0x00C |
32 |
Signals
Digital1To8 signals
Signal |
Start |
Length |
Factor |
Offset |
Unit |
Description |
---|---|---|---|---|---|---|
0 |
2 |
1 |
0 |
Actual digital level |
||
Digital1Hgh |
2 |
1 |
1 |
0 |
High since previous output |
|
Digital1Low |
3 |
1 |
1 |
0 |
Low since previous output |
|
4 |
2 |
1 |
0 |
Actual digital level |
||
Digital2Hgh |
6 |
1 |
1 |
0 |
High since previous output |
|
Digital2Low |
7 |
1 |
1 |
0 |
Low since previous output |
|
8 |
2 |
1 |
0 |
Actual digital level |
||
Digital3Hgh |
10 |
1 |
1 |
0 |
High since previous output |
|
Digital3Low |
11 |
1 |
1 |
0 |
Low since previous output |
|
12 |
2 |
1 |
0 |
Actual digital level |
||
Digital4Hgh |
14 |
1 |
1 |
0 |
High since previous output |
|
Digital4Low |
15 |
1 |
1 |
0 |
Low since previous output |
|
16 |
2 |
1 |
0 |
Actual digital level |
||
Digital5Hgh |
18 |
1 |
1 |
0 |
High since previous output |
|
Digital5Low |
19 |
1 |
1 |
0 |
Low since previous output |
|
20 |
2 |
1 |
0 |
Actual digital level |
||
Digital6Hgh |
22 |
1 |
1 |
0 |
High since previous output |
|
Digital6Low |
23 |
1 |
1 |
0 |
Low since previous output |
|
24 |
2 |
1 |
0 |
Actual digital level |
||
Digital7Hgh |
26 |
1 |
1 |
0 |
High since previous output |
|
Digital7Low |
27 |
1 |
1 |
0 |
Low since previous output |
|
28 |
2 |
1 |
0 |
Actual digital level |
||
Digital8Hgh |
30 |
1 |
1 |
0 |
High since previous output |
|
Digital8Low |
31 |
1 |
1 |
0 |
Low since previous output |
Digital1Act values
Value |
Description |
---|---|
0 |
Unknown |
1 |
Low |
2 |
High |
Digital2Act values
Value |
Description |
---|---|
0 |
Unknown |
1 |
Low |
2 |
High |
Digital3Act values
Value |
Description |
---|---|
0 |
Unknown |
1 |
Low |
2 |
High |
Digital4Act values
Value |
Description |
---|---|
0 |
Unknown |
1 |
Low |
2 |
High |
Digital5Act values
Value |
Description |
---|---|
0 |
Unknown |
1 |
Low |
2 |
High |
Digital6Act values
Value |
Description |
---|---|
0 |
Unknown |
1 |
Low |
2 |
High |
Digital7Act values
Value |
Description |
---|---|
0 |
Unknown |
1 |
Low |
2 |
High |
Digital8Act values
Value |
Description |
---|---|
0 |
Unknown |
1 |
Low |
2 |
High |
Analog1To4 signals
Signal |
Start |
Length |
Factor |
Offset |
Unit |
Description |
---|---|---|---|---|---|---|
Analog1 |
0 |
16 |
0.625 |
0 |
\(mV\) |
|
Analog2 |
16 |
16 |
0.625 |
0 |
\(mV\) |
|
Analog3 |
32 |
16 |
0.625 |
0 |
\(mV\) |
|
Analog4 |
48 |
16 |
0.625 |
0 |
\(mV\) |
Analog5To8 signals
Signal |
Start |
Length |
Factor |
Offset |
Unit |
Description |
---|---|---|---|---|---|---|
Analog5 |
0 |
16 |
0.625 |
0 |
\(mV\) |
|
Analog6 |
16 |
16 |
0.625 |
0 |
\(mV\) |
|
Analog7 |
32 |
16 |
0.625 |
0 |
\(mV\) |
|
Analog8 |
48 |
16 |
0.625 |
0 |
\(mV\) |
Analog1To8Fd signals
Signal |
Start |
Length |
Factor |
Offset |
Unit |
Description |
---|---|---|---|---|---|---|
Analog1Fd |
0 |
16 |
0.625 |
0 |
\(mV\) |
|
Analog2Fd |
16 |
16 |
0.625 |
0 |
\(mV\) |
|
Analog3Fd |
32 |
16 |
0.625 |
0 |
\(mV\) |
|
Analog4Fd |
48 |
16 |
0.625 |
0 |
\(mV\) |
|
Analog5Fd |
64 |
16 |
0.625 |
0 |
\(mV\) |
|
Analog6Fd |
80 |
16 |
0.625 |
0 |
\(mV\) |
|
Analog7Fd |
96 |
16 |
0.625 |
0 |
\(mV\) |
|
Analog8Fd |
112 |
16 |
0.625 |
0 |
\(mV\) |
Pulse8Bit1To8 signals
Signal |
Start |
Length |
Factor |
Offset |
Unit |
Description |
---|---|---|---|---|---|---|
Pulse8Bit1 |
0 |
8 |
1 |
-128 |
||
Pulse8Bit2 |
8 |
8 |
1 |
-128 |
||
Pulse8Bit3 |
16 |
8 |
1 |
-128 |
||
Pulse8Bit4 |
24 |
8 |
1 |
-128 |
||
Pulse8Bit5 |
32 |
8 |
1 |
-128 |
||
Pulse8Bit6 |
40 |
8 |
1 |
-128 |
||
Pulse8Bit7 |
48 |
8 |
1 |
-128 |
||
Pulse8Bit8 |
56 |
8 |
1 |
-128 |
Pulse16Bit1To4 signals
Signal |
Start |
Length |
Factor |
Offset |
Unit |
Description |
---|---|---|---|---|---|---|
Pulse16Bit1 |
0 |
16 |
1 |
-32768 |
||
Pulse16Bit2 |
16 |
16 |
1 |
-32768 |
||
Pulse16Bit3 |
32 |
16 |
1 |
-32768 |
||
Pulse16Bit4 |
48 |
16 |
1 |
-32768 |
Pulse16Bit5To8 signals
Signal |
Start |
Length |
Factor |
Offset |
Unit |
Description |
---|---|---|---|---|---|---|
Pulse16Bit5 |
0 |
16 |
1 |
-32768 |
||
Pulse16Bit6 |
16 |
16 |
1 |
-32768 |
||
Pulse16Bit7 |
32 |
16 |
1 |
-32768 |
||
Pulse16Bit8 |
48 |
16 |
1 |
-32768 |
Pulse32Bit1To2 signals
Signal |
Start |
Length |
Factor |
Offset |
Unit |
Description |
---|---|---|---|---|---|---|
Pulse32Bit1 |
0 |
32 |
1 |
-2147483648 |
||
Pulse32Bit2 |
32 |
32 |
1 |
-2147483648 |
Pulse32Bit3To4 signals
Signal |
Start |
Length |
Factor |
Offset |
Unit |
Description |
---|---|---|---|---|---|---|
Pulse32Bit3 |
0 |
32 |
1 |
-2147483648 |
||
Pulse32Bit4 |
32 |
32 |
1 |
-2147483648 |
Pulse32Bit5To6 signals
Signal |
Start |
Length |
Factor |
Offset |
Unit |
Description |
---|---|---|---|---|---|---|
Pulse32Bit5 |
0 |
32 |
1 |
-2147483648 |
||
Pulse32Bit6 |
32 |
32 |
1 |
-2147483648 |
Pulse32Bit7To8 signals
Signal |
Start |
Length |
Factor |
Offset |
Unit |
Description |
---|---|---|---|---|---|---|
Pulse32Bit7 |
0 |
32 |
1 |
-2147483648 |
||
Pulse32Bit8 |
32 |
32 |
1 |
-2147483648 |
Pulse32Bit1To8Fd signals
Signal |
Start |
Length |
Factor |
Offset |
Unit |
Description |
---|---|---|---|---|---|---|
Pulse32BitFd1 |
0 |
32 |
1 |
-2147483648 |
||
Pulse32BitFd2 |
32 |
32 |
1 |
-2147483648 |
||
Pulse32BitFd3 |
64 |
32 |
1 |
-2147483648 |
||
Pulse32BitFd4 |
96 |
32 |
1 |
-2147483648 |
||
Pulse32BitFd5 |
128 |
32 |
1 |
-2147483648 |
||
Pulse32BitFd6 |
160 |
32 |
1 |
-2147483648 |
||
Pulse32BitFd7 |
192 |
32 |
1 |
-2147483648 |
||
Pulse32BitFd8 |
224 |
32 |
1 |
-2147483648 |