Documentation search search close
CONTENTS
https://www.speedgoat.com/help/slrt/page/icon_documentation.jpg
v10.0.1.x for R2026a
View other versions

IO421 - AC Reference

IO421 - AC Reference — Configure the IO421 AC reference

Library

Simulink Real-Time - Speedgoat

Description

This section describes the driver block used with the IO421-5 sub-module.

The characteristics of the sub-module depend on the factory configuration selected at the time of the order. This information is available in a separate documentation shipped with the device.

sub-module codeOutput (VLL)[V RMS]Frequency [Hz]
W12 - 11547 - 20k
W22 - 2847 - 20k
W328 - 11547 - 2.5k

Output power: max. 6VA

Ports

This block has no input or output ports.

Parameters

Module ID

A unique module ID must be used for each type of IO421 module 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 to be used

Slot

The carrier board can contain up to three modules. This parameter indicates where your IO421-5 sub-module is located.

Reference Frequency

The output frequency (excitation frequency) Units: Hz

Reference Voltage

The output voltage (excitation voltage) Units: Vrms

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.