UDP Write

Target Category: Arduino

Target Sub-Category: IoT > ESP8266WiFi

Description: The UDP Write block writes data to the UDP port on the Ethernet. The top “Tx” pin must have a value of 1 for the block to send data. The subsequent pins are data pins. The values presented on the data pins are sent to the UDP port.

Data Element Type: Controls the data type of each output pin and the offset into the packet.

Data Pins: Specifies the number of input pins (128 max).

IP Address: Specifies the IP address of the target.

Packet Byte Size: Specifies the size of the packet to written (512 bytes max).

Packet Offsets: Iterates over all pins and assigns consecutive ascending offsets to each pin.

Set All Pin Types = Pin 1: Sets the data type of all pins to be the same as pin 1, and then performs a Packet Offset.

UDP Port: Specifies the port to exchange data. It is recommended to use ports greater than 49151.