IO107 - Setup
IO107 - Setup —
Configure the IO107 input/output blocks
Simulink Real-Time - Speedgoat
All the supported I/O types for this module can be configured in the Setup block
dialog box. Please note that this block will have an impact on the Analog output
driver block but not on the Analog output (DMA) block.
This driver block has no input or output ports.
This control selects an I/O section, the parameters of which are then
shown in the dialog box below the 'Parameter group' field. Possible
Analog output setup
Parameter Group: Module Setup
Module ID (IO107+IO108)
A unique module ID must be used for each type of I/O module Setup
block in your model.
The module ID has two functions:
It defines the logical connection to link the I/O module
driver blocks with each other
It also has an impact on the PCI slot auto-search feature:
if only one I/O module is installed, the module ID must be
set to 1. If multiple modules are installed, it must be in
the range 1:n. Not all the I/O modules installed in the
target machine need be used
The IO107 I/O module uses the same module identifiers as the IO108 I/O
module. If your target machine contains both of these modules, assign
different values to each of them.
The voltage range for the analog output channels. The same range
applies to all channels. For the IO107-HV version of the module, the
ranges for "high-voltage ordering option" must be used.
External Sync Signal Type
Select a signal type for the clock output signal that can be connected
to other input boards or to the IO107 output board.
Enable Remote Ground Sense Correction
Select this check box to enable the remote ground sense correction.
See the IO107 reference manual for more information about this
Check this box if the module should calibrate itself the next time
this model (target application) is downloaded and initialized. The
autocalibration function compensates for component aging, and minimizes
the effects of temperature on accuracy. We recommend keeping this
enabled. The calibration normally takes approximately 2 seconds, so we
recommend increasing the host-target communication time-out in the model
configuration parameters to allow for this. The status of the
calibration is displayed on the target screen. The calibration is not
re-executed during normal start/stop operation once the target
application has been downloaded.
Warning: During the calibration
process various signals may be present at the output pins, but they will
stay inside the configured voltage range.
PCI Slot (-1: autosearch)
There are two approaches for mapping the blocks to a specific I/O module installed
in the target machine. All modules of the same kind must be configured using the
Auto-Search: the default value -1
allows the real-time target machine to auto-search for the I/O module.
The priority is defined by the module ID (first vector element for a
multinode). The module with the lowest PCI bus/slot number is assigned
to module ID 1 (or [1 x]) and the next module found is assigned to
module ID 2 (or [2 x]), and so on
Explicit Addressing: the location of the module inside the target
machine can be explicitly defined by using the [BusNumber, SlotNumber]
format. To determine the bus number and the PCI slot number, run the
following command in the MATLAB command window:
Parameter Group: Analog Output Setup
Select the active input/output channels in a vector. A defined number of channels
can be selected using square brackets, for example [1 2 3]. A sequence of channels
can be selected using a colon, for example, 1:4.
Define the initial signal level present on the outputs after the application has
been downloaded. The values can be set individually by entering a vector: the value
at a certain position in the Initial Values vector is applied to the channel as
defined in the Active Channels vector. A scalar value applies to all the channels;
for example, for individual values, type "[1 1.5 0 2.5]", and to set all channels to
zero, type "0".
Reset to Initial Values
Define whether the initial values are also applied once the application has
stopped. The behavior can be set individually for each channel using a vector. A
scalar value applies to all the channels; for example, for individual values, type
"[1 0 0 1]", and to set all channels to zero, type "0". "1" means use the Initial
Value and "0" means keep the latest value.