Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Condor 1553 Decode BC Message

Condor 1553 Decode BC Message block for bus controller

Library

Simulink® Real-Time™ Library for MIL-STD-1553

Description

Each instance of this block extracts information out of one message in the receive list. This block has three outputs.

L — Specifies the input and output message list passed to other Decode BC Message blocks. If your model contains only one Decode BC Message block, connect the signal to a terminator or ground.

S — The S output is a vector of six elements from the received message, bit packed with information:

control, command1, status1, command2, status2, overall status

These elements derive from the API_BC_MBUF structure, which is contained in the Simulink Real-Time file matlab\toolbox\rtw\targets\xpc\target\build\xpcblocks\ include\busapi.h. See the GE® Fanuc (formerly Condor Engineering®) 1553 software user documentation for details on this structure.

Use the Decode BC Status block to extract individual status bits from this status. To get multiple status bits, use multiple Decode BC Status blocks and feed, in parallel, the same signal to the S ports.

D — The D output is a vector of 32 short integers with the data from that message. For a message sent to an RT (R direction), these values are the ones sent. For a message from an RT (T direction), this vector contains the values from the RT. You do not need to decode the received message from an R message.

Block Parameters

Message number

Enter the number of the message to decode.

Sample time

Enter the base sample time or a multiple of the base sample time (-1 means sample time is inherited).

See Also

Was this topic helpful?