Variable name is undefined or Global/Local mismatch between variable and connections
I have 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.
I will make a minor change to either the parent or the child (it does not have to be the child) and then the child code will NOT generate., the parent does, but sometimes the child won't. I get the errors that are attached) on the child:
Sometimes I will get one error sometimes I will get fifteen errors. When you click on the error, it does not take you anywhere in the Function Diagram. The errors are always the ones shown above, just the number changes.
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.
Sometimes by generating the code several times - trying different ways - it will finally generate. Other times I have so start over with an exported version, import it, and make changes again and hope it works.
Please see attached files. Everytime I change the code I am nervous this will happen again.
This question has not yet been answered.