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

IO753 - Send v2

IO753 - Send v2 — Transmits data to Modbus TCP servers

Library

Simulink Real-Time - Speedgoat

Description

This block is used to transmit data to Modbus TCP servers.

Your model can contain only one Send block for each I/O module in your target machine.

[Caution]Caution

This block is only supported by MATLAB from R2019b.

Ports

Inputs

There is one port for each write command defined in the command table in the related Setup block. The command name is used as the port label. Depending on the function code, the data type is either boolean or uint16. The quantity defines the width of the port. Use Byte Pack blocks to convert a signed value or a floating-point number. You can pack a double value into a vector of type uint16 and length 4 which is then transferable via Modbus TCP.

Type:scalar | vector

Data Type:boolean | uint16

Outputs

This block does not have any output ports.

Parameters

Module ID

This ID defines the link to the corresponding Setup block

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.

[Caution]Caution

All blocks that interface with the same I/O module must have identical sample times.

Retrieve Command Configuration

Retrieves the command configuration from the related Setup block and updates the input ports.