<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to SFC: Conditions on 1 IEC action</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6c524fc484/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6c524fc484/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/6c524fc484/</id><updated>2021-04-05T14:55:51.402000Z</updated><subtitle>Recent posts to SFC: Conditions on 1 IEC action</subtitle><entry><title>SFC: Conditions on 1 IEC action</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6c524fc484/?limit=25#2f07/c6e5" rel="alternate"/><published>2021-04-05T14:55:51.402000Z</published><updated>2021-04-05T14:55:51.402000Z</updated><author><name>yann2021</name><uri>https://forge.codesys.com/u/yann2021/</uri></author><id>https://forge.codesys.com2061b75b672a0b63aff88423402f9a82401acef8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;As I said, the output remains activated.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SFC: Conditions on 1 IEC action</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6c524fc484/?limit=25#2f07" rel="alternate"/><published>2021-04-05T14:37:13.547000Z</published><updated>2021-04-05T14:37:13.547000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.comf0ef212b495b47d58f5f851f9c432b8ff4b1d9b3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;... this does not work.&lt;br/&gt;
Define: this&lt;/p&gt;
&lt;/blockquote&gt;&lt;/div&gt;</summary></entry><entry><title>SFC: Conditions on 1 IEC action</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6c524fc484/?limit=25#5843" rel="alternate"/><published>2021-04-05T14:32:53.301000Z</published><updated>2021-04-05T14:32:53.301000Z</updated><author><name>yann2021</name><uri>https://forge.codesys.com/u/yann2021/</uri></author><id>https://forge.codesys.come04205f1afb9b398ab5bea55b03ea3769eaad308</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello i-campbell,&lt;/p&gt;
&lt;p&gt;Unfortunately this does not work. The output remains activated even though the step is no longer active... :-( Don't quite understand why...&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SFC: Conditions on 1 IEC action</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6c524fc484/?limit=25#2fbe" rel="alternate"/><published>2021-03-31T19:27:16.719000Z</published><updated>2021-03-31T19:27:16.719000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.com9a7d403fdaf3f2bf609a581e774a7887b03a6497</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;You could create an "Action" beneath your POU in the device tree, like in this picture from the &lt;a class="" href="https://help.codesys.com/webapp/_cds_sfc_element_action;product=codesys;version=3.5.16.0" rel="nofollow"&gt;SFC documentation&lt;/a&gt;&lt;br/&gt;
There you can write code for further conditions and processing beyond what is offered by the IEC qualifiers alone.&lt;/p&gt;
&lt;p&gt;Another option would be splitting the step into additional steps which convey the requirements of P1's orientation.&lt;/p&gt;
&lt;p&gt;Just as a comment but not really related to what you are asking, I tend to use the "step actions" rather than "IEC actions" as I find them easier to understand.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SFC: Conditions on 1 IEC action</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6c524fc484/?limit=25#de98" rel="alternate"/><published>2021-03-31T13:37:10.088000Z</published><updated>2021-03-31T13:37:10.088000Z</updated><author><name>yann2021</name><uri>https://forge.codesys.com/u/yann2021/</uri></author><id>https://forge.codesys.com4464167dddac72eb0dab9e3adb2bee29dd4919d6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello all,&lt;/p&gt;
&lt;p&gt;I am using Codesys v3.5 and I would like to make the following SFC in Codesys (see attached file).&lt;/p&gt;
&lt;p&gt;No problem to create steps, transitions and actions, however I can't find how to put a condition to an IEC action. In the example above "Reculer P1" if P1 is not backwards (NOT P1 en arrière) for example.&lt;/p&gt;
&lt;p&gt;Thank you in advance for your help.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>