IO682 - Setup v3
IO682 - Setup v3 —
Configure the IO682 I/O module
Library
Simulink® Real-Time™ - Speedgoat

Description
Your model can contain only one Setup block
for each I/O module in your target machine.
All the supported I/O types for this module can be configured in the Setup block
dialog box. This block will therefore have an impact on all the other driver blocks
(Send, Receive, Update Scheduled Messages).
Ports
This driver block has no input or output ports.
Parameters
The three tabs of the setup parameter dialog box contain the IO682 I/O module
configuration settings.
Main Tab
-
IO682 Variant
The IO682 I/O module is available in different variants which differ
in terms of the number of receive and transmit channels. Select the
variant that has been installed in your target machine.
-
PCI Slot (-1: auto-search)
There are two approaches for mapping this block to a specific I/O module installed
in your target machine. All modules of the same type must be configured using the
same method.
Auto-Search: with the default value -1 the I/O module will be automatically located in the
target machine. If you have multiple modules of the same kind, the
Module ID defines which module is associated with this block. To see how
each I/O module maps to a Module ID, use this Speedgoat API:
speedgoat.getIoInterfaces("TargetName", "mySpeedgoat")
Explicit Addressing: to explicitly define the logical address of the
I/O module in the target machine, you can provide the PCI bus and slot
numbers as a vector: [bus, slot]. To determine these numbers, run the
following command in the MATLAB command window:
speedgoat.getIoInterfaces("TargetName", "mySpeedgoat", "Advanced", true)Note
that the PCI address can change whenever an I/O module is added or
removed – usually, auto-search is the best option.
-
Timer Tick Length (in 0.25 us steps)
Specify the length of a timer tick in 0.25 µs units. The default
value is 4000, which results in a tick
length of one millisecond. If you select time tags from an ARINC Decode
or Receive block, then the time tags are provided in units of timer
ticks.
Channel Configuration Tab
- Mode
Select whether the channels should be configured manually or by a
configuration file.
-
Bit Rate
Specify the receive bus speed in Hertz. Typical ARINC 429 rates are
12.5 kHz and 100 kHz. The valid range is from 200 Hz to
150 kHz.
-
Buffer Mode
Select the receive buffer mode, which can be individual or merged. In
the individual mode, each receiver can store up to 2,048 messages in its
circular buffer. Multiple channels can be configured to use the merged
mode, where the received messages are buffered in a single circular
buffer. This buffer can store up to 16,384 messages, which can be
accessed through channel 1.
-
Enable
Check this box to enable the receiver.
-
Parity Check
Check this box to enable the parity check when receiving messages.
When enabled, bit 31 in the ARINC 429 message will indicate whether the
parity check was successful (0) or failed (1).
-
Internal Wrap
Check this box to enable the internal wrap of the receive buffer. When
enabled, the transmitter is internally connected to the respective
receive channel (internal loopback).
-
Bit Rate
Specify the transmit bus speed in Hertz. Typical ARINC 429 rates are
12.5 kHz and 100 kHz. The valid range is from 200 Hz to
150 kHz.
-
Parity
Select the type of parity which will be assigned to each transmitted
ARINC 429 message. The available values are Odd, Even and None. If None is selected, the parity bit can be manually
controlled by using the RAW data type in the Encode block.
-
Protocol Error
Select None, Bit Count High, Bit Count
Low or Short Gap for the
type of error injection transmitted on this channel.
None will transmit the messages
normally, Bit Count High will result in
messages with a bit count of 33 bits, Bit Count
Low will result in messages with a bit count of 31 bits
and Short Gap will result in the
insertion of only 3 bits between subsequent messages.
-
Enable
Check this box to enable the transmitter.
- Channels Configuration File
Specify the name of the configuration file. Click the Browse button to easily find your file or
enter it manually. By clicking the Refresh
Data button, the whole configuration file is parsed
again. The channel configuration can be saved by clicking the Save Configuration button when using the
manual configuration mode. The generated file can be used as well to
configure other modules.
Scheduled Messages Tab
- Mode
Select whether the scheduled messages should be configured manually or
by a configuration file.
- Scheduled Messages Configuration File
Specify the name of the configuration file. Click the Browse button to easily find your file or
enter it manually. By clicking the Refresh
Data button, the whole configuration file is parsed
again. The scheduled message list can be saved by clicking the Save Configuration button when using the
manual configuration mode. The generated file can be used as well to
configure other modules. To manually create a scheduled message list
click the Create Message List button.