I have reviewed other topics here, nothing particuarly helpful…
Program compiles ok without MAIN_PROGRAM added to the cycle task.
After adding the program to the task the error appears.
The program is reasonably large, so identifying the source by removing pieces is a lengthy task.
I have 50+ external variables which others have indicated may be the cause, but, when i was testing on a smaller section of the program, these did not cause me issues…
Please help! Errors without source linking are particuarly frustrating.
As it turned out, the cause was a rung of ladder logic with a MOVE instruction, where the ENO was connected to a second MOVE instruction in series. Eventually an error occured stating a variable _xxxxxx-xxxxxxxxxx-xxxxxxxx_autogenerated_4 did not exist. The appearance of this error was not consistent…
I had seen this error earlier, but once I clicked on the ladder elements, it went away, and compiled fine. To fix i seperated the 2 MOVE instructions into parallel.
