<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to SFC Init bug?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ab76651a82/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ab76651a82/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/ab76651a82/</id><updated>2020-02-27T14:28:19.706000Z</updated><subtitle>Recent posts to SFC Init bug?</subtitle><entry><title>SFC Init bug?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ab76651a82/?limit=25#a86f" rel="alternate"/><published>2020-02-27T14:28:19.706000Z</published><updated>2020-02-27T14:28:19.706000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com1f95d360abbde675d2151e440b2fea84f9a8dd8b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; ph0010421&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;somlioy hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Another thing I noticed is that if you have a transition with a regular boolean variable and you reset this variable with IEC-action "R" in a later step you wont be able to get past that transition even tho the reset comes after the transistion.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The R and S action qualifiers are persistent; they keep RESETTING or SETTING when that step isn't active; it's standard SFC behaviour. A good reason to avoid them IMHO &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SFC Init bug?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ab76651a82/?limit=25#6448" rel="alternate"/><published>2020-02-27T14:28:19.226000Z</published><updated>2020-02-27T14:28:19.226000Z</updated><author><name>somlioy</name><uri>https://forge.codesys.com/u/somlioy/</uri></author><id>https://forge.codesys.com68eff4480b9817d828a9e72ed09f5b5d4f413ea8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Agree that they can be quite confusing.&lt;/p&gt;
&lt;p&gt;Another thing I noticed is that if you have a transition with a regular boolean variable and you reset this variable with IEC-action "R" in a later step you wont be able to get past that transition even tho the reset comes after the transistion.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SFC Init bug?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ab76651a82/?limit=25#ab40" rel="alternate"/><published>2020-02-27T14:28:18.767000Z</published><updated>2020-02-27T14:28:18.767000Z</updated><author><name>wpmccormick</name><uri>https://forge.codesys.com/u/wpmccormick/</uri></author><id>https://forge.codesys.comc71884a87533cb38ac0cbde7eb0f7fa0189ddfda</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The problem is that the IEC "N" Action on the Init step was executing and over-writing what happened in the entry action of the subsequent step.&lt;/p&gt;
&lt;p&gt;Bug in my code I guess, but CODESYS actions can be confusing as all hell!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SFC Init bug?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ab76651a82/?limit=25#367b" rel="alternate"/><published>2020-02-27T14:28:17.506000Z</published><updated>2020-02-27T14:28:17.506000Z</updated><author><name>wpmccormick</name><uri>https://forge.codesys.com/u/wpmccormick/</uri></author><id>https://forge.codesys.com04d12d200e43c754d4cb3c91b2bfe6a086568651</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I'm seeing an issue where the step entry action (as opposed to IEC action) is not executed for a step immediately entered after the init step. Other entry actions work as expected.&lt;/p&gt;
&lt;p&gt;This has to be a bug.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>