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

Block

Mask

Description

This block allows the user to emulate a bus failure fora specific Remote Terminal of a MIL-1553 card. The protocol table of the Remote Terminal is updated when the Ready input of the block is set to 1.

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.

For more information MIL-1533 RT-LAB Application, 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_Fail_Bus 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.

Inputs

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

  • Ready: This input is used to flag to the Asynchronous Process that the values of the other three inputs are ready to be processed.
  • Remote Terminal: This parameter is used to specify the number of the Remote Terminal. This value is a literal integer value in the range [0, 30].
  • FailBus A: Setting this input to 1 makes the Asynchronous Process program the RT so it does not respond to messages received on bus A. When the input is set to 0, the RT is programmed to respond to messages received on bus A.
  • FailBus B: Setting this input to 1 makes the Asynchronous Process program the RT so it does not respond to messages received on bus B. When the input is set to 0, the RT is programmed to respond to messages received on bus B.

Outputs

This block has 1 output used to return 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.
-3An error occurred while changing the bus status. This may be the result of an exception.
-9An invalid remote terminal value is present on the Remote Terminal input.

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