...
This document aims to address the considerations that must be taken into account when using certain encoding type combinations and/or when defining signals' parameters for a given ARINC-429 message.
Anchor | ||||
---|---|---|---|---|
|
- The "Size" parameter value (number of bits) of this ARINC-429 driver Start bit" parameter does not include the BNR sign bit, e.g., 29.
- The ARINC-429 RT-LAB driver supports signed BNR and also unsigned BNR encoding:
- The signed BNR specifies a "Min/Max" range of "[ −Limit, +Limit [".
- The unsigned BNR specifies a range of "[ 0.0, +Limit [".
- The "Size (bits)" parameter value for a given BNR signal translation always does not includes the sign bit (both for single and mixed BNR signal types).
Notice that, per ARINC convention, the "Digits" value does not include the sign bit when the signal is a single BNR signal (not mixed). - For signed BNR, the +Limit value must be the absolute value of −Limit, minus one resolution value.
Example:
For a signed BNR signal Range (-256:255) [−256.0 : 256 [ and a resolution of 0.25 we can calculate the following values:
| The configuration parameters for this signal would then be:
|
For a un-signed unsigned BNR signal Range ([ 0.0 : 512) 512 [ and a resolution of 0.25 we can calculate the following values:
| The configuration parameters for this signal would then be:
|
Anchor |
---|
...
|
...
Notice how the Size parameter always refers to the total number of actual bits needed for the correct signal representation while Digits excludes the sign bit from the count
|
- 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)