Hi, I tried some different libraries (CmpApp etc.) to find some global variables that I could read out as a variable in the codesys environment.
Do any one of you know which libraries are best suited for this, and how I can read it out?
My goal is to send messages, warnings etc. to the system that communicates to the PLC. Currently if something goes wrong I need to see the logfiles, or go online with the controller.
I think I could save a lot of time if I could read the errors from our user interface that is connected to the PLC by TCP/IP.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I tried some different libraries (CmpApp etc.) to find some global variables that I could read out as a variable in the codesys environment.
Do any one of you know which libraries are best suited for this, and how I can read it out?
My goal is to send messages, warnings etc. to the system that communicates to the PLC. Currently if something goes wrong I need to see the logfiles, or go online with the controller.
I think I could save a lot of time if I could read the errors from our user interface that is connected to the PLC by TCP/IP.
I can add that the values I want to read are typical these values highlighted in red on the picture attached.