Hello.
This error occurs every few days. CP-2000 firmware 5.3
2022-09-21 20:26:31.057759 Error E-92-40-01B110 Runtime error: Invalid pointer
2022-09-27 00:17:05.424706 Error E-92-40-01BF48 Runtime error: Invalid pointer
2022-09-30 21:43:14.424411 Error E-92-40-01BF48 Runtime error: Invalid pointer
2022-10-04 16:44:15.988877 Error E-92-40-01C200 Runtime error: Invalid pointer
Can I find the source of the error somewhere?
best regards: Balázs
Answers 3
Hello
this is an error related to the user program. Invalid pointer means that there is called an address that doesn't exist. In the Mosaic menu there is Search item and Go to the line... command. You can enter an address that is a part of error code (01B110, 01BF48, etc.) and then you should see where the error appeared. Probably it will be in some library function block. If you will not be able to find the problem, you can send me an archive of project with the compilation of the code that is running on PLC. We have source codes of libraries so we are able to find exactly the instruction that failed.
It is conceivable that was the library not updated?
We wrote the program from two separate computers.
The library version would not cause such a problem. This is about the parameters with which the function or function block was called and the state of the block's internal variables. You need to see where the error originated and start looking for it in the software. The error code shows exactly where the error occurred and if we had the source files and the memory image, then it is possible to find exactly what happened. Now we don't have the memory contents from when the error occurred because someone restarted it in the meantime, but we can at least try to guess what was wrong based on the instruction the program crashed on.
Your answer
You have to be signed-in for asking a question. Continue after sign-in.