Errors: Variable name is undefined or Global/Local mismatch between variable and connections
Have created a Single Control Module (POR519_Exhauster) with one Child Single Control Module (P19_A_Tanks) as shown in the attached files.
Generate Full Build will work just fine and can download successfully and the code works properly.
At a later point if Generate Full Build is performed from the Parent (or the Child), the errors in the attached file are generated - sometimes. The number or errors varies, but they are always one of the two in the attached file. Sometimes it does generate without errors. The code works just fine.
I have deleted the entire code in the Child and will still receive the errors.
A portion of the Parent Code is attached - pdf pages 1, 2, and 3. The Child is on page 3. The Child code is on pages 4, 5, and 6.
Please see attached files.
An idea what is causing the errors. Is there a problem with the code?