ARINC429 - Encode v4
ARINC429 - Encode v4 —
Encode ARINC 429 words for the Send block
Library
Simulink® Real-Time™ - Speedgoat

Description
This block encodes the input values in the ARINC 429 protocol depending on the
data type selected.
Ports
Inputs
-
Data
A single value or a vector that should be encoded.
Outputs
-
Msg
ARINC 429-encoded messages.
Parameters
-
Label
Enter a three-digit octal number or vector as the ARINC 429 label.
![[Note]](images/note.png) | Note |
|---|
The Label bit order is
reversed automatically by the transmit logic prior to
transmission of the ARINC 429 word for all Data Type options. |
-
Data Type
Select the encoding style for the defined labels. The data type
determines how the input value is converted to a corresponding ARINC
value:
-
Resolution (BCD) or Scale (BNR)
Enter a vector or scalar value as the resolution/scale vector. If a
vector is entered, then it must be the same length as the Label; otherwise, the scalar value is applied
to the length of the Label
vector.
The interpretation of this value depends on the data type:
-
Bits to Send (BNR)
Specifies the number of high order bits of the 19-bit (or 21-bit if
SDI is not used) scaled input to retain when the value is inserted into
the encoded word. The block uses this value for a BNR format
input.
-
SDI
Enter a vector or scalar value as the SDI data. If a vector is entered, then it must be the
same length as the Label; otherwise,
the scalar value is applied to the length of the Label vector.
If the SDI element is in the range 0 to
3, the block sets the SDI field of the
corresponding output word to that value. If an SDI element has a value
of -1, then the block does not perform SDI processing
on the corresponding output word.
-
SSM
Enter a vector or scalar value as the sign/status matrix (SSM) data. If a vector is entered, then it
must be the same length as the Label;
otherwise, the scalar value is applied to the length of the Label vector.
If the SSM element is in the range 0 to
3, then the block sets the SSM field of the
corresponding output word to that value. If an SSM element has a value
of -1, the block does not perform SSM processing on
the corresponding output word.
-
Use SDI Bits for Data
Select whether the SDI field should be used for data (the data field
can be extended by two bits).
-
Enable SSM Input
Select whether the SSM input should be active.