<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to 3.5 P20 hangs - no response</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ad2124b559/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ad2124b559/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/ad2124b559/</id><updated>2025-08-10T19:22:47.799000Z</updated><subtitle>Recent posts to 3.5 P20 hangs - no response</subtitle><entry><title>3.5 P20 hangs - no response</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ad2124b559/?limit=25#3599" rel="alternate"/><published>2025-08-10T19:22:47.799000Z</published><updated>2025-08-10T19:22:47.799000Z</updated><author><name>artplc</name><uri>https://forge.codesys.com/u/artplc/</uri></author><id>https://forge.codesys.com0a144f24e22101f77c196b50e6fdfab1ea99f26a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;hr/&gt;
&lt;p&gt;Subject: Solution: CODESYS Freezes Linked to Large Symbol Configuration (OPC UA)&lt;/p&gt;
&lt;p&gt;Hello everyone,&lt;/p&gt;
&lt;p&gt;I was experiencing the same problem as many here: CODESYS (v3.5 SP20+) freezing during compilation and download, especially on projects that use OPC UA for SCADA. The only workaround was to run Build &amp;gt; Clean&lt;br/&gt;
  all before every download.&lt;/p&gt;
&lt;p&gt;I believe I have found the root cause and a permanent solution.&lt;/p&gt;
&lt;p&gt;The Problem:&lt;br/&gt;
  The issue is directly related to a large Symbol Configuration. In my project, I only need about 700 tags for OPC UA, but the Symbol Configuration list was showing over 250,000 tags. This is because it&lt;br/&gt;
  automatically includes all variables from Global Variable Lists (GVLs) and other memory areas.&lt;/p&gt;
&lt;p&gt;When any static variable is changed, the IDE tries to rebuild this enormous list, causing it to freeze for several minutes.&lt;/p&gt;
&lt;p&gt;The Solution:&lt;br/&gt;
  Instead of letting CODESYS export every variable by default, you can use a pragma to tell it which variables or GVLs to exclude from the symbol export process.&lt;/p&gt;
&lt;p&gt;Place the following pragma at the top of any GVL or data structure that you do not want to be part of the symbol configuration:&lt;/p&gt;
&lt;p&gt;1 {attribute 'symbol' := 'none'}&lt;br/&gt;
   2 VAR_GLOBAL&lt;br/&gt;
   3     // All variables in this GVL will now be excluded from the&lt;br/&gt;
   4     // Symbol Configuration by default.&lt;br/&gt;
   5     InternalVariable1 : INT;&lt;br/&gt;
   6     InternalVariable2 : BOOL;&lt;br/&gt;
   7 END_VAR&lt;/p&gt;
&lt;p&gt;After adding this pragma to all the GVLs that were not needed for OPC UA, the number of tags in my Symbol Configuration dropped to the correct amount. The compilation and download process is now fast again,&lt;br/&gt;
  with no freezing.&lt;/p&gt;
&lt;p&gt;This method is much more efficient than manually managing the symbol list in the editor.&lt;/p&gt;
&lt;p&gt;I hope this helps others who are facing this frustrating issue.&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>3.5 P20 hangs - no response</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ad2124b559/?limit=25#5073/67d7" rel="alternate"/><published>2025-06-25T13:57:36.009000Z</published><updated>2025-06-25T13:57:36.009000Z</updated><author><name>programmer</name><uri>https://forge.codesys.com/u/programmer/</uri></author><id>https://forge.codesys.coma733abef6c9d6bb6e0fb16481413f0a74f4629f4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;hi imdatatas,&lt;/p&gt;
&lt;p&gt;thanks for you suggestion. I added the process execution for sure.&lt;br/&gt;
In the mean time I reïnstall Windows but it dind't help directly.&lt;br/&gt;
Finally I deleted CodeMeter Runtime Server after Codesys installation. Because this Service was not ablt to start. And  it works (for now) :)!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>3.5 P20 hangs - no response</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ad2124b559/?limit=25#5073" rel="alternate"/><published>2025-06-25T10:46:41.442000Z</published><updated>2025-06-25T10:46:41.442000Z</updated><author><name>imdatatas</name><uri>https://forge.codesys.com/u/imdatatas/</uri></author><id>https://forge.codesys.com96ebead6224e65074b23a72901801e26ca290bd9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, You can give a try it by adding "Codesys.exe" in the "Exclusions &amp;gt; Process" section of the Windows Security Center or your antivirus program.&lt;br/&gt;
I hope it works for your situation.&lt;/p&gt;
&lt;p&gt;Antivirus programs check many things during both the installation or startup of an application, and may be slow down or block some functions.&lt;/p&gt;
&lt;p&gt;Regards&lt;br/&gt;
Imdat&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>3.5 P20 hangs - no response</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ad2124b559/?limit=25#dcd5" rel="alternate"/><published>2025-06-23T14:16:04.438000Z</published><updated>2025-06-23T14:16:04.438000Z</updated><author><name>programmer</name><uri>https://forge.codesys.com/u/programmer/</uri></author><id>https://forge.codesys.coma9f0dd3e69d6216afd9dba2978409e9d0a9fbd81</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, Is there a solution found for the problem described in first post?&lt;/p&gt;
&lt;p&gt;Any version above Codesys 3.5 P19 hangs during start up.&lt;br/&gt;
It makes no difference whether I simply start Codesys or open a project directly.&lt;br/&gt;
I'm using Windows 10 Home edition.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>3.5 P20 hangs - no response</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ad2124b559/?limit=25#9ff4" rel="alternate"/><published>2024-06-27T12:36:40.019000Z</published><updated>2024-06-27T12:36:40.019000Z</updated><author><name>orbis-tertius</name><uri>https://forge.codesys.com/u/orbis-tertius/</uri></author><id>https://forge.codesys.comebb0712a9d2edb34e05ff10458b8c035a675afc0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Is there anybody can help me with the same problem?&lt;br/&gt;
I have to migrate created project in ver.3.5.17.0 32BIT with runtime 4.7.0 to ver.3.5.20.0 64BIT with runtime 4.7.11.0 due to the new license.&lt;br/&gt;
All the libraries and dependencies are updaded and there are no any errors. The first compilation and loading to the controller is being compleated well. After this being done and if I am forced to change any values or change any code in the current project, another compilation will be freezed.&lt;br/&gt;
This problem can be solved if pressed Build/cleen or cleen all. &lt;br/&gt;
There is another method to solve this; if project is loaded with excluded object (Alarm Configuration), repeated compilations will be done well.   &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>3.5 P20 hangs - no response</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ad2124b559/?limit=25#ba2c" rel="alternate"/><published>2024-06-27T10:38:08.983000Z</published><updated>2024-06-27T10:38:08.983000Z</updated><author><name>fizzy-bubblech</name><uri>https://forge.codesys.com/u/fizzy-bubblech/</uri></author><id>https://forge.codesys.com9163317e9d34f2f3cee4fe95b8121ca4fff8f139</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Colleagues, i have the same problems. &lt;/p&gt;
&lt;p&gt;At the current time, I have to use the new version of the Codesys (3.5.20.10) + Control for Linux SL 4.11.0.0, but it works unstable : theree are a lot of freezes and not-respondings. &lt;/p&gt;
&lt;p&gt;I tested this on different projects: those that were created in the current version of the project, and those that were migrated from other versions of the development environment.&lt;/p&gt;
&lt;p&gt;Compiling a project without connecting to a controller is fast enough. The first downloading of the code into the controller, too. But as soon as you need to make edits and download a new code problems begin. Codesys "freezes" at the "Generation code" stage for 15-20 minutes. And only after that time loads the code into the controller. Previously, we used version 3.5.17.60 + Control for Linux SL 4.7.0.0. The process took 1-2 minutes.&lt;/p&gt;
&lt;p&gt;Do you have any ideas how can i fix it? I will be grateful for your answers.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>3.5 P20 hangs - no response</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ad2124b559/?limit=25#cdfb" rel="alternate"/><published>2024-06-27T10:38:05.464000Z</published><updated>2024-06-27T10:38:05.464000Z</updated><author><name>fizzy-bubblech</name><uri>https://forge.codesys.com/u/fizzy-bubblech/</uri></author><id>https://forge.codesys.coma049db8dc03cd7fd947253284b55826fbb5087bc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Colleagues, i have the same problems. &lt;/p&gt;
&lt;p&gt;At the current time, I have to use the new version of the Codesys (3.5.20.10) + Control for Linux SL 4.11.0.0, but it works unstable : theree are a lot of freezes and not-respondings. &lt;/p&gt;
&lt;p&gt;I tested this on different projects: those that were created in the current version of the project, and those that were migrated from other versions of the development environment.&lt;/p&gt;
&lt;p&gt;Compiling a project without connecting to a controller is fast enough. The first downloading of the code into the controller, too. But as soon as you need to make edits and download a new code problems begin. Codesys "freezes" at the "Generation code" stage for 15-20 minutes. And only after that time loads the code into the controller. Previously, we used version 3.5.17.60 + Control for Linux SL 4.7.0.0. The process took 1-2 minutes.&lt;/p&gt;
&lt;p&gt;Do you have any ideas how can i fix it? I will be grateful for your answers.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>3.5 P20 hangs - no response</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ad2124b559/?limit=25#69ae" rel="alternate"/><published>2024-06-27T10:38:02.110000Z</published><updated>2024-06-27T10:38:02.110000Z</updated><author><name>fizzy-bubblech</name><uri>https://forge.codesys.com/u/fizzy-bubblech/</uri></author><id>https://forge.codesys.combac70072d0ad7895987f4e3c765486ba82afe201</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Colleagues, i have the same problems. &lt;/p&gt;
&lt;p&gt;At the current time, I have to use the new version of the Codesys (3.5.20.10) + Control for Linux SL 4.11.0.0, but it works unstable : theree are a lot of freezes and not-respondings. &lt;/p&gt;
&lt;p&gt;I tested this on different projects: those that were created in the current version of the project, and those that were migrated from other versions of the development environment.&lt;/p&gt;
&lt;p&gt;Compiling a project without connecting to a controller is fast enough. The first downloading of the code into the controller, too. But as soon as you need to make edits and download a new code problems begin. Codesys "freezes" at the "Generation code" stage for 15-20 minutes. And only after that time loads the code into the controller. Previously, we used version 3.5.17.60 + Control for Linux SL 4.7.0.0. The process took 1-2 minutes.&lt;/p&gt;
&lt;p&gt;Do you have any ideas how can i fix it? I will be grateful for your answers.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>3.5 P20 hangs - no response</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ad2124b559/?limit=25#11ca" rel="alternate"/><published>2024-06-24T17:48:38.071000Z</published><updated>2024-06-24T17:48:38.071000Z</updated><author><name>tayhim</name><uri>https://forge.codesys.com/u/tayhim/</uri></author><id>https://forge.codesys.com8b151c1cec18febaa649325e2d3d7b45cff9fbe0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I'm facing the same problem with SP 20 (win 11). is there any solution ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>3.5 P20 hangs - no response</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ad2124b559/?limit=25#8bae" rel="alternate"/><published>2024-06-24T17:48:34.596000Z</published><updated>2024-06-24T17:48:34.596000Z</updated><author><name>tayhim</name><uri>https://forge.codesys.com/u/tayhim/</uri></author><id>https://forge.codesys.come72989889cf0e69a753d0ce83165827d454239d2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I'm facing the same problem with SP 20 (win 11). is there any solution ?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>