In simulation mode my project out two errors. The same project on two different computer as compile in simulation mode out two errors. On one PC in simulation mode compilation is without error, but I set "run" and appears the following error - "Access to illegal address! PLC is stopped."
On the other computer is a compilation error - "Error 4001: ConfigEndCycle (2): Identifier 'TI' not defined"
I don't know what is the problem. Does anyone have any idea what could be the reason?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2016-06-27
Originally created by: scott_cunningham
Gut feeling that this smells like pointers are used and writing to wrong locations or using references that are not initialized. You can accidentally write to memory locations and crash your PLC. Additionally accessing arrays out of bounds Can also cause these errors.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In simulation mode my project out two errors. The same project on two different computer as compile in simulation mode out two errors. On one PC in simulation mode compilation is without error, but I set "run" and appears the following error - "Access to illegal address! PLC is stopped."
On the other computer is a compilation error - "Error 4001: ConfigEndCycle (2): Identifier 'TI' not defined"
I don't know what is the problem. Does anyone have any idea what could be the reason?
Originally created by: scott_cunningham
Gut feeling that this smells like pointers are used and writing to wrong locations or using references that are not initialized. You can accidentally write to memory locations and crash your PLC. Additionally accessing arrays out of bounds Can also cause these errors.