Hi, Since this morning we have been receiving the error message CILG001 “Internal Error.”, whenever we try to compile the project and write it to our device. There is no specific information about the error and the help just tells us, "An internal error has occurred. Please call technical support.” We hope you have an idea of exactly what the problem is and how we can possibly solve it. best regards, Daniel
Daniel, I have had this same issue, but I ended up finding an typo in my code that was not underlined. Double check your code and make sure there aren’t any typos/issues. If this is not the case, and you haven’t made any changes then this would be an issue that the PLCnext team will have to look into.

Hi,
After several hours of random debugging and undoing made changes, we finally concluded, that the error occurs, if a FB is used within another FB and both have the same variable declared as external.
But shouldn’t it be possible to use an external variable and pass it to “sub”-function blocks via the external option?
Best regards,
Daniel
Daniel, I would not recommend doing that. If the outer FB is custom, I would just create an Input or Input/Output for that external variable to get inside the first FB, then use that Input or Input/Output that for the internal FB.
Hello Daniel,
We could not reproduce this issue with PLCnext Engineer Version 2020.6.2
What Version of the PLCnext Engineer were you using and for which PLC / version were you building the Project?Can you provide a snipped of code that causes this issue? Tthank you and kind regads,
Oliver



