BTI Lx429

btilx429.png 

Labeled messages are sent or received over each channel. I/O points are mapped to fields within these messages.

Reference Information

I/O Card Model Number

CS-DD-42916I3-300.

I/O Driver Model Number

WCS-DD-42916I3.

I/O Module License:

ICS-SWB-1211.

Buttons

Expand All expandall00014.png

Expands the hierarchy tree showing board configuration.

Collapse All collapseall00015.png

Collapses the hierarchy tree showing the board configuration to show only the channel nodes.

New Labelnew_label.png

Adds a new message label for the selected channel.

New Fieldnew_field.png

Adds a field to the selected label.

Deletedelete00018.png

Deletes the selected node and everything, including mappings, below it. The top level nodes cannot be deleted.

Board Settings

Board Type

Selects which type of BTI Lx429 is installed on the system. This setting determines the number of channels and whether they are input or output channels. Changing this setting will remove existing mappings to this board.

Channels

btilx429_channels.png 

Direction

Selects the I/O direction of the channel. This setting is not editable, but is determined by the board type.

Input
Output

Parity

Selects the parity of the channel.

None
Odd
Even

Speed

Selects the speed of the channel.

High

100 kbits/s.

Low

10 kbits/s.

Labels

 

Label

Unique identifier for a message on this channel. Usually specified as an octal number.

Sched Rate (ms)

Rate at which messages are sent (output channels only).

FIFO Tx:

Specifies that messages are sent via FIFO instead of scheduled rate (output channels only).

Tx on change

Specifies that message are sent when a value changes (FIFO Tx only).

TxOrder

The priority to send the label when multiple labels are output at the same time on the same channel (FIFO Tx only).

Mapping

arinc429_mappings00020.png 

Bit (offset:size)

Bit offset and size of the field. Only integer bit fields are supported. Single-bit fields are mapped to digital points. Multi-bit fields are mapped to analog points.

BCD Format

Specifies that bits 3 through 22 are interpreted as a BCD value.

BCD SSM Bits:

Specifies that bits 1 through 2 are interpreted as an integer value.

Mapping Table

Mapped Point(s) Column

I/O point(s) a field is mapped to.

To map a point to a field, select a field on the left side of the I/O Mappings form, then click on a check box for an I/O point on the right side of the form. See I/O Mappings... for details.

Synchronous I/O Task: btilx429out

The process computes all 32-bit output words corresponding to  output items and places them into the  output FIFO. BTI Lx429 words that are unchanged since the last test cycle will not be queued.

The FIFO is read by the btilx429asyncio asynchronous task that writes them to the hardware board.

Asynchronous I/O Task: btilx429asyncio

This process runs asynchronous to the simulation loop and handles both inputs from and outputs to the BTI Lx429 boards. Due to the fact that a BTI Lx429 board can only be opened by one task at a time and a single board can be configured to do inputs and outputs simultaneously, this process is multithreaded.

There is a separate thread for each board that is configured as input (that is, at least one channel on the board is configured for input and at least one RTDB variable is mapped to that channel.) The input thread configures the board to notify itself of any new inputs received via a software interrupt. The thread sleeps until the interrupt wakes it. It then reads the interrupted channel immediately and queues an update request into the asyncio FIFO queue. In this mode, the input thread does not poll the board to detect new inputs.

There is a separate thread for each board that is configured as output (that is, at least one channel on the board is configured for output and at least one RTDB variable is mapped to that channel.) The output thread polls the output FIFO at a regular interval. The default interval is every 5 milliseconds and can be specified as a command line argument with –t msec in the options column of the I/O Tasks form.