Main Content

TCP/IP Send

Send TCP/IP message from server

Add-On Required: This feature requires the Simulink Support Package for Arduino Hardware add-on.

Library

Simulink Support Package for Arduino Hardware/Ethernet Shield

  • TCP/IP Send block

Description

Send TCP/IP messages from a server over a wired network.

Use this block when your model has the following requirements:

  • Reliable message transmission

  • Unchanged message order

  • Acceptable compromise on the transmission speed

The TCP/IP server created by this block can accept four socket connections on the Arduino® board.

This block input accepts uint8 values.

During simulations without the hardware, this block does nothing.

Parameters

Server port

Enter the port number through which you want the TCP/IP server to send the messages. The server port numbers range from 0 to 65535.

Click View pin map to open the Arduino Pin Mapping table.

To know how to assign pins for the block, see Pin Mapping for Arduino Timer Independent Blocks.

Go to top of page