Codesys and error messages, warnings exceptions etc.

sigurdrb
2024-11-06
2024-11-06
  • sigurdrb - 2024-11-06

    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.

     
  • sigurdrb - 2024-11-06

    I can add that the values I want to read are typical these values highlighted in red on the picture attached.

     

Log in to post a comment.