Industry Online Support
Technical Forum
12/2/2009 2:28 PM | |
Joined: 1/17/2007 Last visit: 8/21/2024 Posts: 1545 Rating: (537) |
The compiler is basically telling you that it cannot work out how much total local data (stack) space your program will need as some of the blocks you are using do not contain a reference list. It is warning you as it cannot check if your program have exceeded the local data requirements allocated for each OB, which would cause a CPU stop (being an embedded software engineer, I can tell you that stack overflow is the worst CPU error there is). I believe (someone will correct me if I am wrong) the reference list contains a list of which FB/SFB/FC/SFC calls the block is using. From this the compiler determines how much local data space is required by adding up all the local data requirements for each FB/SFB/FC/SFC called. Here is a link to some help:- Help Link My experience suggests that you may have used some blocks from another library / project that used an earlier version (pre-6.1 I think). If you have the SCL sources for the blocks that are causing the problem, then recompiling them on your current system with the generate reference data check box checked will solve the issue. I think you can track down the blocks causing you the error by right clicking on the blocks folder and selecting the "Check block consistancy..." option. Hope this is of some help. |
Programming today is the race between software engineers building bigger and better idiot proof programs, and the universe producing bigger and better idiots. |
|
Follow us on