Sample02: Multicast
This sample demonstrates how to send and receive Multicast packages via UDP.
Client and Server cyclically send a value to each other via a Multicast IP address.
Client and Server are realized by two PLC applications and delivered within a single TwinCAT 3 solution.
System requirements
- TwinCAT 3 Build 3093 or higher
- TwinCAT 3 Function TF6310 TCP/IP version 1.0.64 or higher
- TwinCAT 3 Library Tc2_TcpIp version 3.2.64.0 or higher
- If one computer is used to execute the sample, e.g. client and server running in two separate PLC runtimes, both PLC runtimes need to run in separate tasks.