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

Block

Mask

Description

This block allows the user to activate or deactivate simulation of a MIL-1553 Remote Terminal at run-time. This does not activate the reception of messages by that remote terminal.

Note that simulated remote terminals are all activated at initialization. It is possible to deactivate all remote terminals at initialization by setting the environment variable GE1553_RT_MON_ENABLE to ON in RT-LAB. If this environment variable is enabled, all the remote terminals will be in monitoring mode and the RT Enable block will be necessary to activate these terminals.

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 on 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_RT_Enable 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_Enable 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 3 inputs. The values applied to these inputs are transferred to the Asynchronous Process which controls communication with the MIL-1553 card.

DataReadyThis input is a trigger flag for transferring the values of the other two inputs to the Asynchronous Process. This trigger is activated when Data Ready is set to 1.
RemoteTerminalThis input is used to specify the number of the Remote Terminal to be activated or deactivated.
EnableWhen this input is set to 1, the Remote Terminal specified at the second input is activated. When it is set to 0, the Remote Terminal is disabled. Note that during model initialization all Remote Terminals simulated by the MIL-1553 card are activated.

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 status of the remote terminal. This is probably the cause of an exception.
-6An invalid remote terminal number has been provided 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