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 Select BM Message

Condor Select 1553 BM Message block for bus monitor

Library

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

Description

This block picks a message with specified properties out of a Bus Monitor list from the PCI-1553 Bus Monitor block.

Block Input and Outputs

This block has the following inputs and outputs:

L — The passed through message list

T — Time in microseconds at which this message was received

S — Status (seven component vector with contents)

  • 1 message number

  • 2 cmd1

  • 3 resp1

  • 4 status 1

  • 5 cmd 2

  • 6 resp 2

  • 7 status 2

Elements cmd1 and cmd2 contain address information in bit fields in the 16-bit integer.

cmdN=<RRRRR>T<SSSSS><CCCCC>

Where RRRRR is the 5-bit field with the remote terminal address. T is 1 if a transmit message, 0 if receive. S is the sub address. C is the count.

Elements 5, 6, and 7 are only nonzero for the RT->RT messages.

D — 32 uint16 vector data. cmd 1 has the length of real data in the low order 5 bits.

If the block does not find a matching message in the list, the block clears the status and data words to 0.

Block Parameters

Message selection mode

From the list, choose a message selection (filtering) mode

  • message number — By message number

  • BC->RT or RT->BC — By Remote Terminal and sub address

  • RT->RT — By both Remote Terminal and sub addresses

Message number

Specify an index into a Bus Monitor list. Use this parameter if you set Message selection mode to message number.

Remote Terminal 1

Specify the Remote Terminal from which to select the message. Use this parameter if you set Message selection mode to one of the following:

  • BC->RT or RT->BC

  • RT->RT (receive side)

Sub address 1

Specify the sub address from which to select the message. Use this parameter if you set Message selection mode to one of the following:

  • BC->RT or RT->BC

  • RT->RT (receive side)

Remote Terminal 2

Specify the Remote Terminal from which to select the message. Use this parameter if you set Message selection mode to RT->RT (send side).

Sub address 2

Specify the sub address from which to select the message. Use this parameter if you set Message selection mode to RT->RT (send side).

Direction

From the list, choose the encode direction. Use this parameter if you set Message selection mode to BC->RT or RT->BC. Choose from

  • R (BC->RT) — Receive, from Bus Controller to Remote Terminal

  • T (RT->BC) — Transmit, from Remote Terminal to Bus Controller

Sample time

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

Was this topic helpful?