Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For a signed BNR signal

Range [−256.0 : 256 [ and a resolution of 0.25 we can calculate the following values:

  • Scale = 256.0
  • Resolution = 0.25
  • Digits = log2(Scale / Resolution)
  • Max = −(Min) − Resolution


The configuration parameters for this signal would then be:

  • Start bit: 28
  • Size: 10
  • Min: −256.0
  • Max: +255.75

For a unsigned BNR signal

Range [ 0.0 : 512 [ and a resolution of 0.25 we can calculate the following values:

  • Scale = 512.0
  • Resolution = 0.25
  • Digits = log2(Scale / Resolution)
  • Max = 512.0 − 0.25


The configuration parameters for this signal would then be:

  • Start bit: 28
  • Size: 11
  • Min: 0.0
  • Max: +511.75

Anchor
BCDConsiderations
BCDConsiderations
BCD Considerations

  • BCD signals, by definition, are divided into groups of 4 bits, however, when the Size" parameter of the signal is not a multiple of 4, special considerations must be taken regarding the Most Significant Digit (MSD) value.

    Example:
    • For Size = 6: MSD max value = 3 (binary 011)
    • For Size = 7: MSD max value = 7 (binary 111)