ETH out – Ethernet output mailbox
Table of Contents
The Ethernet output mailbox block allows sending 32-bit values via Ethernet using the UDP/IP protocol.
It supports two operating modes:
- On-demand mode: the user manually triggers the message transmissions.
- Periodical mode: the message is sent periodically, whether the data has been changed or not. The user can configure the transmission frequency.
Simulink block
Signal specification
- The first input is the data to send. The accepted data type is specified by the
Signal coding format
parameter. - The second input is the send data signal. It is used to initiate a data transmission when the on-demand mode has been selected. Data is sent upon a rising edge on this signal.
Parameters
Ethernet port number
: sets the destination port to which the data will be sent.Ethernet IP address
: selects the IP address to whom the data will be sent.Signal coding format
: defines the data type accepted in the data input (int32, uint32, or float32).Byte order
: defines the byte order in which the data will be sent. (little-endian or big-endian)Tx frequency
: sets the data transmission frequency if the periodical mode has been selected.
PLECS block
Signal specification
- The first input is the data to send. The accepted data type is specified by the
Signal coding format
parameter. - The second input is the send data signal. It is used to initiate a data transmission when the on-demand mode has been selected. Data is sent upon a rising edge on this signal.
Parameters
Ethernet port number
: sets the destination port to which the data will be sent.Ethernet IP address
: selects the IP address to whom the data will be sent.Signal coding format
: defines the data type accepted in the data input (int32, uint32 or float32).Byte order
: defines the byte order in which the data will be sent. (little-endian or big-endian)Tx frequency
: sets the data transmission frequency if the periodical mode has been selected.