AN-312 Ethernet UDP connection

AN-312 Ethernet UDP connection

UDP is a connectionless transport protocol designed to operate over IP. Typical applications in Industrial Control includes fast data transfer from cameras and cyclic “Process Data” from PLCs.

UDP does not guarantee the delivery of packets but guarantees that if a packet is ever delivered in error, then such error will be detected by the receiver.

In Trio, implementation of UDP is used for the transport of ASCII and Binary data bytes between devices in a manner similar to the use of a serial port. A user application program can send and receive strings of data using the same BASIC commands that apply to serial communications. 
    • Related Articles

    • AN-374 TCP/UDP Data stream handling

      This document describes a simple method of how to handle a stream of bytes received via Ethernet in the controller allowing the user to read and interpret them when needed.
    • CHANNEL_WRITE

      How do I write axis variables or VR integer values into the channel? Like this? CHANNEL_WRITE(tcpserver_channel, " " + TIME$ + " " + CHR(VR(0)) + " " + CHR(VR(1)) ) Answer: No, the CHANNEL_WRITE needs to have a string as the data to write. ...
    • Modbus TCP and Ethernet IP on Flex-6-Nano

      Q. Can we run and use Modbus TCP server and Ethernet IP server on Flex-6-Nano at the same time? A. Yes you can use both in parallel. They open different "port" numbers on the Ethernet communications but have the same IP Address. For example Modbus is ...
    • AN-353 Trio Ethernet/IP

      This document describes Trio controller support for the EtherNet/IP protocol. The controller can act as a Class 1, 2 and 3 adapter (server) on an EtherNet/IP based network. The Motion Coordinator series 4 and above provide this support.
    • AN-326 Connecting to TCP/UDP client

      It is possible to open one or more communication channels with remote devices using the TCP and UDP protocols via the controller’s main Ethernet port. This document explain and provide example of doing this