I can't add more variables
It tells me that I no longer have space to create more variables and I need to create a dataype and a control module, but I get this notice. Maybe there is another way to create the variables that I mentioned maybe in diagrams? and if so, some document where you can see the procedure to do it. Thank you
Voted best answer
Hi
I had the same problem in project with using BMI library.
The cause of the problem is that the number of all elementary global variables in one Application is limited to 65536, including all variables in structured global data types like in IO.
You have 2 oprions:
Either you move some global variables, which are not part of BMI global IO type, into any control modules as local variables, (that was solution in my project)
Or you can create a new Application for new objects you need to add. Of course you will need to create some IAC communication variables to exchange signals between these two applications.
I had the same problem in project with using BMI library.
The cause of the problem is that the number of all elementary global variables in one Application is limited to 65536, including all variables in structured global data types like in IO.
You have 2 oprions:
Either you move some global variables, which are not part of BMI global IO type, into any control modules as local variables, (that was solution in my project)
Or you can create a new Application for new objects you need to add. Of course you will need to create some IAC communication variables to exchange signals between these two applications.
Answers
Hello,
It looks POU has exceeded the maximum allowed limit which is 65534, so the only way you can get rid of this is during compile its better you do the following:
You can check how many variables you have by in CB chose Tools -> Maintenance -> Analysis -> WriteVariableMemory
It looks POU has exceeded the maximum allowed limit which is 65534, so the only way you can get rid of this is during compile its better you do the following:
- Identify any open loops and its parameters and cut paste into other POU and assign task.
- drag/drop the open loop from the CS (so that no need to change any ref in Graphics).
- compile and download.
You can check how many variables you have by in CB chose Tools -> Maintenance -> Analysis -> WriteVariableMemory
Add new comment