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

IO203 - Write v1

IO203 - Write v1 — Writes the IO203 digital outputs

Library

Simulink Real-Time - Speedgoat

Description

To write to the digital outputs, one block per channel group (Lower & Upper) can be added to the Simulink model for each module of this type in your target machine.

Ports

This driver block has no output ports. The input ports can be set to 5 different types:

32 ports of type double

32 input ports of type double are shown. Each port is a scalar with a value of either 0.0 (Low) or 1.0 (High).

32 ports of type boolean

32 input ports of type boolean are shown. Each port is a scalar with a value of either 0 (Low) or 1 (High).

1 port with 32 element vector of type double

One input port of type double is shown. The port has a width of 32 with each element having a value of either 0.0 (Low) or 1.0 (High).

1 port with 32 element vector of type boolean

One input port of type boolean is shown. The port has a width of 32 with each element having a value of either 0 (Low) or 1 (High).

1 port with scalar of type uint32

One input port of type uint32 is shown. The port is a scalar containing all 32 channels as a single uint32 value.

Parameters

Module ID

This ID defines the link to the corresponding Setup block

Channel Group

Select either Lower or Upper as appropriate.

Port Type

Select one of the five available port types.

Sample Time

Defines the base sample time at which this driver block gets its sample hit. This parameter can also be set to -1 for inherited sample time. The units are in seconds.