Modbus TCP/IP having problems with global variables

2025-05-20
2025-05-22
  • gabrielarffa - 2025-05-20

    I'm using Modbus TCP/IP to communicate Codesys with Elipse E3 as the master for a college project.

    I have made a list of global variables to organize the programming in two different POUs. The problem is, when I try to do the mapping of variables, the program informs me of an error due to the identifiers having a "." on their names. Do I have to reorganize my code to make it an unified block or is there a way to declare their names without changing all the code structure?

     
  • mariacugnier - 2025-05-22

    Are these variables already declared in the IO list? It looks like it's trying to create new variables instead of mapping them to the existing ones.

     

Log in to post a comment.