<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Removing Unused Variables</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/df13fb3363/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/df13fb3363/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/df13fb3363/</id><updated>2020-02-27T14:33:07.959000Z</updated><subtitle>Recent posts to Removing Unused Variables</subtitle><entry><title>Removing Unused Variables</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/df13fb3363/?limit=25#f3a5" rel="alternate"/><published>2020-02-27T14:33:07.959000Z</published><updated>2020-02-27T14:33:07.959000Z</updated><author><name>peterash</name><uri>https://forge.codesys.com/u/peterash/</uri></author><id>https://forge.codesys.com9aa951cdf13bac985a2eaff9882a2fe233e340cc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;learnetk hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Actually you should use 'Build --&amp;gt; Generate Code' Option to see the Static Analysis work.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Thanks learnetk. &lt;br/&gt;
I was using Build (F11) only, No problem is seeing the unused variable list when using " Generate Code".&lt;br/&gt;
Thanks.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Removing Unused Variables</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/df13fb3363/?limit=25#04d6" rel="alternate"/><published>2020-02-27T14:33:07.498000Z</published><updated>2020-02-27T14:33:07.498000Z</updated><author><name>learnetk</name><uri>https://forge.codesys.com/u/learnetk/</uri></author><id>https://forge.codesys.comabee4cf908661df94275e8fb818846fb2d48009a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Actually you should use 'Build --&amp;gt; Generate Code' Option to see the Static Analysis work.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Removing Unused Variables</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/df13fb3363/?limit=25#b56e" rel="alternate"/><published>2020-02-27T14:33:06.158000Z</published><updated>2020-02-27T14:33:06.158000Z</updated><author><name>peterash</name><uri>https://forge.codesys.com/u/peterash/</uri></author><id>https://forge.codesys.com4cb8e4aff7467fcccbbda67aa869734a3b3d4d5d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi All.&lt;br/&gt;
Thanks TimvH for your reply.&lt;br/&gt;
I have been aware of Static Analysis Settings but I don't see the unused variables being shown or listed. &lt;br/&gt;
May be I should explain what I am doing.&lt;br/&gt;
    I use Codesys to write individual programs for a specific task then transfer them into the Danfos Plus 1 Programing Environment as a POU.&lt;br/&gt;
Reasons for this it is much easier to write and test a program in Codesys under Simulation then trying to test it directly in Danfoss Plus 1.&lt;br/&gt;
I am not sure if others do this, but I would like to know. But debugging a ST POU in Plus1 is time consuming and difficult even with there debugger program.&lt;br/&gt;
By applying a simulation to the code may produce different results, ie; unused variables. to that of a generated code to a specific PLC type.&lt;br/&gt;
That I would like to know else I may still be doing something wrong. Being able to remove unused variable during program development in Codesys is much more practicable then in Plus 1 ST Editor.&lt;br/&gt;
Thanks for your help and looking forward to others suggestions.&lt;/p&gt;
&lt;p&gt;peter&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Removing Unused Variables</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/df13fb3363/?limit=25#b06e" rel="alternate"/><published>2020-02-27T14:33:05.694000Z</published><updated>2020-02-27T14:33:05.694000Z</updated><author><name>timvh</name><uri>https://forge.codesys.com/u/timvh/</uri></author><id>https://forge.codesys.comb15d3cd9067b24a453592eb6f4bca1d6a21c9af8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Run Static Analysis (light). See the help of CODESYS for all the details.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Removing Unused Variables</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/df13fb3363/?limit=25#8fe0" rel="alternate"/><published>2020-02-27T14:33:05.226000Z</published><updated>2020-02-27T14:33:05.226000Z</updated><author><name>peterash</name><uri>https://forge.codesys.com/u/peterash/</uri></author><id>https://forge.codesys.com49dc7443974942f2dbe3f2699baf38bfffb35fad</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;Being new to Codesys Version 3.5 Patch 8, how do you remove unused variables when using Structured Text.&lt;/p&gt;
&lt;p&gt;Peter&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>