CODESYS
PLC Chat - Article no.000031
The PLC Chat includes a chat server which can handle up to 16
PLC clients and the client program. The chat UI is displayed on a CODESYS
TargetVisu and can be accessed by the CODESYS WebVisu. This example
demonstrates the usage of the library NetBaseServices.
Server:
Download the server application to a PLC and execute the
program.
Enter the IP address for the server in the visualization
configuration.
Choose a free port for the connection.
Give the chat a name (optional)
Now click the “Go Online” button.
The status bar changes from “not connected” to “waiting for
clients”.
Client:
Download the client to another PLC and run the application
(up to 16 PLCs can participate)
Change to the configuration tab
Choose your nick name.
Enter the IP address and port of the server
Click the “Go Online” button.
The status bar now displays “connection established”.