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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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)
After I click "Generate code" - "locate global data" hangs for about 25 minutes.
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