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 Execute Bus List block

Block

Mask

Description

This block is used when the MIL-1553 is programmed to execute bus list chain commands defined in a file whose name is specified in the mask of the Op1553_AsyncCtrl block.

This block allows the user to select one of the BC command chains of the file via the chain ID identifier, and to control a load of this chain by setting the Ready input of the block is to 1.

As with other MIL-1553 RT-LAB blocks, the information specified in this block are transferred to, or retrieved from, the Asynchronous Process which controls communication with the MIL-1553 board, via the shared memory opened during model initialization. In the case of this block, the ChainID input and Ready flag are used by the Asynchronous Process to handle chain loading, and the Send ID parameter is used to differentiate between several OpAsync_1553_ExecuteBus_List blocks.

An example application is provided in the directory:
<RTLAB_ROOT>\Examples\IO\SBS\MIL-1553\ABI_BusList\simulink and details about applications using bus list chains can be found in 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 identify the OpAsync_1553_Execute_Bus_List blocks attached to the same Op1553_AsyncCtrl block.

Inputs

This block has 2 inputs. These values are transferred to the Asynchronous Process via the shared memory opened during model initialization.

ReadyThis input can be used as a probe signal to confirm the validity of the data input. This parameter is checked once per calculation step, and the bus list chain is loaded ifReady is set to 1.
ChainIdThis parameter is used to indicate which chain has to be loaded. This value is a literal integer value in the range [1,Nmax], where Nmas is the number of chains defined in the file.

Outputs

This block has one output used to report error states:

  • Error: This output can take 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 processing the command list. This may also be the result of an exception.
-8Invalid value specified at the Chain Id input. This means that no command chains of the chain definition file match this identifier.

It should be noted that if, for instance, an error occurs during an RTBC transaction, the error will be reported by the related BC reception block.

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