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

IO753 - Send — Transmits cyclic data from the Controller to the Modbus TCP network

Library

Simulink Real-Time - Speedgoat

Description

This block is used to transmit cyclic data from the Controller to the Modbus TCP network.

You can only use one Modbus TCP Client Send block for each physical module installed.

Ports

Depending on the value of the Port Type parameter, this block will have:

  • n input ports of type uint8, where n is defined by the Output Data Bytes parameter, or

  • 1 input port which is a vector with n elements, where n is defined by the Output Data Bytes parameter

Inputs
1

Data byte to send. Type uint8.

X (X is the port number between 1 and the value of the Output Data Bytes parameter)

Data byte to send. Type uint8.

Inputs
Out

A vector of data bytes to send. The number of elements in the vector is defined by the Output Data Bytes parameter.

Parameters

Module ID

This ID defines the link to the corresponding Setup block

Port Type

The type of the input/output ports. The options are:

  • n ports of type uint8 to have an input/output port for each signal

  • 1 port with n element vector of type uint8 to have a single vector with an element for each signal

Output data bytes

The number of bytes that are sent to the Modbus TCP device. TIP: Use the "Byte Pack" block to send the data.

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.