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?
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?
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.