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 - Receive v2

IO753 - Receive v2 — Receives data from Modbus TCP servers

Library

Simulink Real-Time - Speedgoat

Description

This block is used to receive data from Modbus TCP servers.

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

[Caution]Caution

This block is only supported by MATLAB from R2019b.

Ports

Outputs

There is one port for each read 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 Unpack blocks to convert to signed values or floating-point numbers. You can unpack a vector of type uint16 and length 4 to one double value.

Type: scalar | vector

Data Type: boolean | uint16

Inputs

This block does not have any input 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 output ports.