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.

Any suggestions?




Add New Comment


asked 7 months ago


This question has not yet been answered.

Get weekly AKS updates

Partner Exclusive Webinars


> – Login to the partner portal to register

Points Redemption Program - Redeem your points for ABB training, Bluetooth speakers and mugs. Terms and conditions >

Earn points when you refer a friend
AKS Referral Program is "Live" - Learn more

AKS Experts

Ask Ronny Lindström   

Rank: 17

ABB Service Engineer

Ask Govindaraj   

Rank: 10

Working in ABB India Operation Center. Have Project engineering and commissioning experience in ABB 800xA, Freelance, AC500.

Ask Flavio Mussolin   

Rank: 4

ABB AVP, Senior Electronic and Automation Engineer with over 30 years of experience in the field of process automation automotive, pharmaceutical, hollow glass, steel and rolling.

Ask nikismith   

Rank: 247

I have been a part of the Recording & Control Factory team for 17 years in total, having spent a number of years as a repairs technician withi the manufacturing department, but being in my current role for 9 years now.

Ask MMM   

Rank: 5

ABB PA CT Technical Support

Ask Dieter Henkel   

Rank: 19

Ask Rob Lyon   

Rank: 2 I'm an independent DCS software and commissioning engineer with extensive experience in 800xA and other ABB products. I've worked in almost every corner of the world and still haven't seen it all.

Ask Harsha.D   

Rank: 7

Tech.Support,software and commisioning engineer with Proficient knowledge in 800xA and its products, RNRP,Networking in general.

Ask WvanWees   

Rank: 6

I'm a senior service engineer working for ABB in The Netherlands.

Ask kstoilov   

Rank: 11

Control System Engineer: 800xA, Compact 800, AC500, AC31-50, Advant Master, Simatic, AC&DC Drives 11 years worked for ABB - Control Systems

Ask Stefan Stromqvist   

Rank: 1

I joined ABB in the year of 1994 and has since 1999 been working as a Service & Support Engineer at BU Control Technologies in Västerås, Sweden. My areas of expertise are: 800xA Base, 800xA for Advant Master, Information Management, operating systems, RNRP and Ethernet comms/networking in general.

Ask Sumit Gargav   

Rank: 3

I have worked with Freelance in majority, with 800xA FD and Melody system partly. Also had opportunity to work with Protocols - HART,Profibus,FF & Modbus.