CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Wed Feb 19, 2020 7:48 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Fri Jan 24, 2020 4:05 pm 
Offline

Joined: Sun Jan 12, 2020 4:19 pm
Posts: 5
Hi,
If I add the OSCAT Lib to my project and then build, I get an error "Error 3612: Maximum number of POUs (1200) exceeded! compile is aborted."
The base template from the hardware supplier has quite a few Libraries as standard. If I try to delete some of these I am getting errors about identifiers not defined.

But I would like to use some example from OSCAT;
So... could I split the file in a text editor like notepad? The file structure looks simple but I cant see an obvious separator between each definition.
:?
Thanks, J.


Top
   
PostPosted: Fri Jan 24, 2020 5:08 pm 
Offline

Joined: Wed Jan 08, 2020 1:50 pm
Posts: 19
Quote:
CODESYS build gives an error message ”Maximum number of POUs is exceeded! Compile is aborted”
- In MultiTool Library Manager, unselect unused libraries, for example ISOBUS libraries if you are not using ISOBUS. For more information, see MultiTool manual.
or
- In CODESYS IDE, go to to Resources > Target Settings and increase the Maximum number of POUs to be larger than 1200.


Top
   
PostPosted: Fri Jan 24, 2020 5:57 pm 
Offline

Joined: Sun Jan 12, 2020 4:19 pm
Posts: 5
Thanks, good points and I'm working through them.

By default the hardware software (multitool) forces 20 libraries on, these cannot be deselected and account for 465 POU (of 1200 max).

I have however tried it now with as many as possible de-selected. There is something odd, since now with OSCAT added and build, Codesys crashes every time.

I understand the reasons for libraries and why there are essential items to ensure the basics are covered but even with ISOBUS, J1939 and CANopen all deselected, there still seems to be a lot of unused libs (some associated with the unselected protocols) being pushed across into the template.

I'm sure there is plenty to learn but TBH so far its not the most stable or smooth tool chain i've used, hopefully it will settle down.
J.


Top
   
PostPosted: Mon Jan 27, 2020 8:20 am 
Offline

Joined: Wed Jan 08, 2020 1:50 pm
Posts: 19
As I said in the previous message:
Code:
In CODESYS IDE, go to to Resources > Target Settings and increase the Maximum number of POUs to be larger than 1200.
You could set it to 10000, for example.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited