Output

This page documents the output configuration. The device supports the following outputs:

Note

The decoding rules are defined by the provided CANmod.input DBC file

Warning

The CANmod.input can generate high frequency outputs. Make sure not to exceed the bandwidth of the CAN-bus. It is recommended to disable unused outputs and reduce the frequency of (scale) active outputs when possible. Increasing the CAN-bus bit-rate (if possible) and using CAN-bus FD frames (if supported) can increase the bandwidth.


Signal encoding description file (dbc file)

The decoding rules described in dbc file format can be downloaded below:

Note

The DBC file is configured to match the default output IDs. If the output 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:

\[y_{\texttt{PHY}} = a x_{\texttt{RAW}} + b,\]

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 files1.

Note

Placing byte 0 to the right makes it easy to interpret Intel order data


1

*.dbc is a widely used file format for describing signal decoding