CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Thu Sep 20, 2018 5:12 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Fri Mar 02, 2018 9:19 am 
Offline

Joined: Mon Mar 23, 2015 5:50 am
Posts: 4
A project has 10 000 function blocks each of which is mapped onto output channel.
Compilation is quite fast ( Build -> Rebuild )

1 - I initiate downloading ( Online -> Login )
2 - A message box "Application 1000_points does not exists on
device 'Device' do you want to create it and proceed with download ?
3 - I click OK.

4 - Status bar has a string "locate global data" for about 25 minutes.
5 - A message box "No connection to the device, Please rescan your device" appears.
6 - I click OK.

7 - Status bar has a string "Generating code I104_GVL_1__GVL__INIT" for about 2 minutes
8 - A message box "No connection to the device, Please rescan your device" appears.
9 - I click OK.
10 - At this stage, if I will do nothing, then nothing will ever happen.

11 - I do: Online -> Login again.
12 - A message box "Application 1000_points does not exists on
device 'Device' do you want to create it and proceed with download ?
13 - I click OK.
14 - After 2 minutes application starts.
15 - After 3 minutes dialog box "OutOfMemoryException" appears. I click OK.
16 - Application continues its work.

If I do "Remove application" from controller - it removed quite fast.
If I download it again, then application starts quite fast ( approx. 45 seconds )
I can do several cycles "Remove application" -> "Download (Online->Login)
and always it starts quite fast.

But if I close CoDeSys IDE, and start it again then the same application
will download slowly again as described above from paragraph 1.

The project with 5000 same function blocks starts in 1 minute.
With 10 000 function blocks in 30 minutes. So every 5000 f.b. multiply
download time in 30.


You do not have the required permissions to view the files attached to this post.


Top
   
PostPosted: Fri Mar 02, 2018 9:38 am 
Offline

Joined: Fri Feb 23, 2018 3:41 pm
Posts: 10
What happens if you separate compiling to downloading ?

Step 1 : Clean All
Step 2 : Generate Code
Step 3 : Online
Step 4 : Download (via message box after online)


Top
   
PostPosted: Mon Mar 05, 2018 11:35 am 
Offline

Joined: Mon Mar 23, 2015 5:50 am
Posts: 4
After I click "Generate code" - "locate global data" hangs for about 25 minutes.


Top
   
PostPosted: Mon Mar 05, 2018 7:43 pm 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 2837
Hi,
which CODESYS version is this?
I would propose to send this project to improve/investigate to the support as a bug report.
Login to the CODESYS store and -> 'my question'
add the projectarchive ad this detailed steps to reproduce in our post above.


BR
Edwin


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: Aliazzz and 4 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