IO752 - Receive
IO752 - Receive — Receives cyclic data from the
PROFINET network
Library
Simulink Real-Time - Speedgoat

Description
This block is used to receive cyclic data from the PROFINET network. To use it
there should be exactly one of these driver blocks in your Simulink model for each
IO752 I/O module installed in your target machine.
Ports
Depending on the value of the "Port type" parameter, this block will have:
n output ports of type uint8, where n is defined by the "Input Data Bytes"
parameter, or
1 output port which is a vector with n elements, where n is defined by the
"Input Data Bytes" parameter
Outputs (n ports of type uint8)
-
1
Data byte to receive. Type uint8.
-
X (X is the port number, between 1 and the value in the "Input
Data Bytes" parameter)
Data byte to receive. Type uint8.
Outputs (1 port with n element vectors)
-
In
A vector of data bytes to receive. The number of elements in the
vector is defined by the "Input Data Bytes" parameter.
Parameters
-
Module ID
This ID defines the link to the corresponding Setup block.
-
Port type
The type of the output ports. Options are:
-
Output data bytes
The number of bytes that are received from the PROFINET device. TIP:
Use the "Byte Unpack" block to send the data.
-
Sample time [s]
Defines how often this block is updated.