CODESYS: Network Variables - Communicating between two CODESYS PLCs

Published: 29 November 2023
on channel: Tohid Alizadeh
8,613
135

If you want to watch the videos in order, download the up-to-date version of the road map from the pinned comment of the corresponding video:    • CODESYS: A road map for watching the video...  
-------------------------------------------------------------------------------------------------------------------------------------
In this video, I demonstrate how to create a communication path between two CODESYS PLCs and exchange variables using Network Variables. The two CODESYS PLCs are running on two separate PCs on the same local network. This is an easy way of communicating between CODESYS PLCs, compared to my previous tutorial on using Node-RED, however, it has its own limitations. First, you need to add a network variable list on both the sender and receiver side. To have two-way communication, you need to repeat it. Second, this approach is for the CODESYS PLCs and not for all PLCs. Third, you need to create a variable list for the variables that you want to exchange, and can not simply choose the variables among the ones that you have declared in the project.
I hope you enjoy watching the video. Please don't forget to subscribe to my channel and share it with your network.
Chapters:
0:00 Introduction and welcome
0:27 Demonstration of the concept
1:04 Creating the project and adding Network Variable List (Sender)
1:45 Adding the second PLC and adding a Network Variable List (Receiver)
2:57 Adding and setting up the visualizations
3:24 Logging in to PLCs and testing the project
4:20 Creating the second communication path
6:12 Testing the two-way communication between PLCs and concluding remarks
6:56 Thanks for watching


On this page of the site you can watch the video online CODESYS: Network Variables - Communicating between two CODESYS PLCs with a duration of hours minute second in good quality, which was uploaded by the user Tohid Alizadeh 29 November 2023, share the link with friends and acquaintances, this video has already been watched 8,613 times on youtube and it was liked by 135 viewers. Enjoy your viewing!