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 Send_ModeCommand block

Block

Mask

Description

This block is used to prepare data for one Mode Command to be sent by one simulated RT/SA of a MIL-1553 card. This block does not trigger the transmission of this data since the transmission of commands is controlled by OpAsync_1553_BC_Send blocks.

This block is associated with one MIL-1553 card by the mean of the Controller ID parameter, which associates this block with an OpAsync1553_Ctrl block in the model.

The information about the RT/SA couple specified in this block is transferred to the Asynchronous Application in order to program the card for simulation of this RT/SA in the transmission of Mode Commands mode. The data to be sent by this RT/SA couple is transferred from the model to the Asynchronous Application via the shared memory opened during model initialization.

For more information MIL-1533 RT-LAB applications, check the RT-LAB MIL-1553 Manual.

Parameters

Controller IDThis parameter is used to retrieve to which Op1553_AsyncCtrl block the present block is associated. This ID is a literal integer value in the range [0, 255]. An Op1553_AsyncCtrl block with the same ControllerID value must exist in the model.
Send IDThis parameter is used by the Asynchronous Process to differentiate between the OpAsync_1553_Send_ModeCommand blocks attached to the same Op1553_AsyncCtrl block.
Sub-device numberSome MIL-1553 boards can support more than one MIL-1553 device. Each individual device is then referred to as one sub-device. This parameter is used to associate the current OpAsync_1553_RT_Send block with one sub-device of the MIL-1553 card selected in the associated Op1553_AsyncCtrl (same ControllerID value). This parameter is grayed out if the card selected in the Op1553_AsyncCtrl block holds only one sub-device.
Remote TerminalIndicates the number of the Remote Terminal simulated by this block. This value is a literal integer value in the range [0, 30].
Mode CommandThis parameter is used to select which ModeCode has to be sent.

Inputs

This block has 2 inputs. Their values are transferred to the Asynchronous Process which controls communication with the MIL-1553 card.

  • Data Ready: This input is used to flag to the Asynchronous Process that the values of the values placed at the Data input are ready to be processed.
  • Data: This input is used to supply the ModeCode data that this RT device has to transmit on the MIL-1553 bus.

Outputs

This block has one output used to run values set by the Asynchronous Process.

  • Error: This output reports one of the following values:
ValueDescription
0No errors.
-1An error occurred during initialization and the asynchronous process has terminated. Consult the RT-LAB Display for details.
-2An exception occurred. Please contact the Opal-RT support team should this be reported. Also, consult the RT-LAB Display for possible details.
-5The selected mode code does not imply transmission data or this data may not be programmed from the model.

Characteristics and Limitations

This block has no special characteristics.

Direct FeedthroughNo
Discrete sample timeNo
XHP supportNo
Work offlineNo

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