Documentation Home Page ◇ RT-LAB Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.
OpAsync 1553 BC Send block
Block
Mask
Description
This block is used to configure and perform MIL-1553 bus controller transactions that do not require any data to be returned to the bus controller. These operations include BCRT, RTRT and mode codes for which the T/R bit is set to 1. Broadcast operations are also possible.
When this block is placed in the model, during the initialization of the MIL-STD-1553 driver in the asynchronous process started by the OpAsync_1553_Ctrl block, the board will be automatically configured to simulate a Bus Controller on the specified bus (A orB).
If this block is used in a model that also uses OpAsync_1553_RT_Sendor Receive blocks, the user must make sure that the selected board has the capability to simulate both MIL-STD-1553 BC and RT features simultaneously.
This block can also be used to send mode codes that do not require a response from a remote terminal.
For more information MIL-1533 RT-LAB Application, check the RT-LABMIL-1553 Manual.
Parameters
Controller ID | This parameter is used to identify the OpAsync_1553_Ctrl block to which this Send block is attached. This ID is a literal integer value in the range [0, 255]. An OpAsync_1553_Ctrl block with the same ID as the one specified must exist in the model. |
---|---|
Send ID | This parameter is used to identify the Send blocks attached to one specific controller. The asynchronous application uses this information to refer to a particular send block. |
Sub-device number | Some MIL-1553 board can support more than one MIL-STD-1553 devices. This parameter is used to associate the current Send block with one of those devices. This parameter can be grayed out or not depending on the specific board selected in the associated OpAsync_1553_Ctrl block. |
Bus control operation | Specifies the type of bus operation/command to be performed. Once an operation is selected the board will be automatically configured at initialization with the required parameters for this command. |
Source Remote Terminal | This parameter is used to indicate to which source Remote Terminal the currently selected command refers. This information will automatically be retrieved by the MIL-STD-1553 driver during initialization in order to allocate the appropriate structures on the card. For some operations, this parameter is not relevant and will be grayed out. This value is a literal integer value in the range [0, 30]. |
Source Sub-Address | This parameter is used to indicate to which source Sub-Address of a specific remote Terminal, the currently selected command refers. This information will automatically be retrieved by the MIL-STD-1553 driver during initialization in order to allocate the appropriate structures on the card. This value is a literal integer value in the range [0, 31]. |
Destination Remote Terminal | This parameter is used to indicate to which destination Remote Terminal the currently selected command refers. For some operations, this parameter is not relevant and will be grayed out. This information will automatically be retrieved by the MIL-STD-1553 driver during initialization in order to allocate the appropriate structures on the card. This value is a literal integer value in the range [0, 30]. |
Destination Sub-Address | This parameter is used to indicate to which destination Sub-Address of a specific destination Remote Terminal, the currently selected command refers. This information will automatically be retrieved by the MIL-STD-1553 driver during initialization in order to allocate the appropriate structures on the card. This value is a literal integer value in the range [0, 31]. 0 and 31 are used with mode codes. |
Mode Command | Mode code to be sent if the Bus Controller Operation is set to MODE. |
Inputs
This block has 2 inputs.
Data Ready | this input can be used as a trigger signal to indicate to the underlying asynchronous process that the data is ready to be sent. |
---|---|
Data | this input specifies the data to be transmitted on the bus. The word count of the transaction is determined by the width of this input. For mode codes that require data, only the first element of this input is used. For mode codes that require no data, this input is ignored. Note that when using RTRT or RTRT_BROADCAST mode as a bus control operation, this input must be set with dummy data but with the right width to determine the word count of the transaction. |
To perform the same transaction with different word counts, place multiple instances of this block, with different Data input widths and Send ID parameter values.
Outputs
This block has one output.
- Error: This output reports one of the following values:
Value | Description |
---|---|
0 | No errors. |
-1 | An error occurred during initialization and the asynchronous process has terminated. Consult the RT-LAB Display for details. |
-2 | An exception occurred. Please report the error to the Opal-RT support team. Also consult the RT-LAB Display for possible details. |
-4 | A transmission error occurred. This may also be the result of an exception. |
Characteristics and Limitations
This block has no special characteristics.
Direct Feedthrough | No |
---|---|
Discrete sample time | No |
XHP support | No |
Work offline | No |
OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter