Modicon PAC Forum
A forum for topics related to the scope of Modicon PAC offers and ecosystem along the whole lifecycle: Modicon M580 and 340, EcoStruxure Control Expert, EcoStruxure Process Expert (Unity Pro) and more.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-02-01 06:48 PM
Hello,
I am getting the "Object Analyze Failure : Code Generation Failure" error when trying to build a program. Can't find any references to it anywhere.
The processor is a 140 CPU 651 50.
Anybody come across this before ? Thanks
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-02-04 06:36 AM
Does your project validate oklay when you analyize it? You might try creating a new project and importing everything from the current poject into it. IIRC I had this issue about a year ago and this was tech support's advice to me.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-02-04 04:39 PM
What version of ECE are you using? I have usually found this to be a result of:
a) ECE bugs - check version and hotfixes. For example, 'ControlExpert_V152_HF002 Code generation failure'
b) sometimes left over garbage in the backend - try export to xef/zef and re-import.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-02-05 02:40 PM
I should have provided a bigger screenshot. It seems the error is related to another error "E1208 usage of dynamic variables is disabled". Once I ticked the boxes in the Project Settings I was able to build the project successfully. Thanks for the advice.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.