Send data over UDP network on a dedicated network interface
IEEE 1588 / PTP UDP
The Send block sends UDP packets from Local (source) port to
Destination port. To broadcast to
all devices, set Destination
IP address to
255.255.255.255, otherwise set
Destination IP address to a valid IP address.
IP fragmentation is not supported in Simulink® Real-Time™ PTP UDP blocks. The packet payload is limited to 1472 bytes (1500 bytes UDP packet size − 28 bytes combined packet header size).
Data— Data to transmit
uint8 containing data to send.
N— Number of bytes to transmit
Number of bytes to send.
Device ID— Device ID for Ethernet board
From the list, select a unique number to identify the Ethernet board. Select the same Device ID as the one you selected for the Real-Time UDP Configuration block.
Destination IP address— IP address to which device sends packets
Specify the IP address of the target computer or other device to which you
want to send the UDP packets. To broadcast the packets to
all listening computers or devices,
255.255.255.255. With Destination
port, this parameter defines the destination address.
Destination port— Port to which device sends packets
Specify the target computer port to which you want to send the UDP packets. With Destination IP address, this parameter defines the destination address.
Local (source) port— Target computer port that sends packets
Specify the target computer port from which you want to send the UDP packets.
-1 to automatically assign a port for the target