<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to SFC questions</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/ca233f1d10/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/ca233f1d10/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/ca233f1d10/</id><updated>2020-02-27T22:07:19.708000Z</updated><subtitle>Recent posts to SFC questions</subtitle><entry><title>SFC questions</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/ca233f1d10/?limit=25#8635" rel="alternate"/><published>2020-02-27T22:07:19.708000Z</published><updated>2020-02-27T22:07:19.708000Z</updated><author><name>shooter</name><uri>https://forge.codesys.com/u/shooter/</uri></author><id>https://forge.codesys.com3f495893a6a6f0952672a080fe4057ccefeedfbe</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If you jump back to init, it will return to master program.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SFC questions</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/ca233f1d10/?limit=25#72ca" rel="alternate"/><published>2020-02-27T22:07:18.155000Z</published><updated>2020-02-27T22:07:18.155000Z</updated><author><name>luke.skywalker</name><uri>https://forge.codesys.com/u/luke-skywalker/</uri></author><id>https://forge.codesys.com5f900f19355c5be7f18c6ac50e80b272ede9021d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you Paul. But what should I type in the Jump action? "PLC_PRG" doesn't work. It gives the classical error "Jump to undefined step PLC_PRG".&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SFC questions</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/ca233f1d10/?limit=25#710a" rel="alternate"/><published>2020-02-27T22:07:13.904000Z</published><updated>2020-02-27T22:07:13.904000Z</updated><author><name>shooter</name><uri>https://forge.codesys.com/u/shooter/</uri></author><id>https://forge.codesys.com710a3b959397594b3131bce13b57744d46b24e14</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;there is no exit or return in an SFC (i do agree with you it should be possible)&lt;br/&gt;
however you can make it with jumps.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SFC questions</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/ca233f1d10/?limit=25#43bc" rel="alternate"/><published>2020-02-27T22:07:12.359000Z</published><updated>2020-02-27T22:07:12.359000Z</updated><author><name>luke.skywalker</name><uri>https://forge.codesys.com/u/luke-skywalker/</uri></author><id>https://forge.codesys.comaa26db324fd22582a9360b7bc10ea7141de74df3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;How do you exit a SFC program? I mean, how do you make a secondary SFC program break (quit), after a transition and return to the execution of the main one?&lt;br/&gt;
I have tried typing "EXIT" at the Jump action (seemed logical   ), but that didn't work.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SFC questions</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/ca233f1d10/?limit=25#3ddd" rel="alternate"/><published>2020-02-27T22:07:08.060000Z</published><updated>2020-02-27T22:07:08.060000Z</updated><author><name>shooter</name><uri>https://forge.codesys.com/u/shooter/</uri></author><id>https://forge.codesys.com134899220d1e25b9a904b92f8347cf44a489b5ad</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;1 Make the transition just TRUE.&lt;br/&gt;
then if you use a MIN time like t#10s the step will be running for 10 seconds and then next step will start&lt;br/&gt;
if use MAX and same then the step 1 will only run one time and the go to step2&lt;br/&gt;
if transition is false the step1 will run for 10 seconds and then wait until the transition is true.&lt;/p&gt;
&lt;p&gt;2 If the step1 is enterd the actions in the enter will be executed once and the every thing inside the step for as long as the step is running.&lt;br/&gt;
the exit will be done when the step is left, or by timer, or by transition.&lt;br/&gt;
example &lt;br/&gt;
step1active:=true in enter&lt;br/&gt;
and step1active:=false in exit.&lt;/p&gt;
&lt;p&gt;3 just send what you are making preferably in a flowsheet (visio or smartdraw) and i will give you a headstart.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SFC questions</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/ca233f1d10/?limit=25#67a4" rel="alternate"/><published>2020-02-27T22:07:06.526000Z</published><updated>2020-02-27T22:07:06.526000Z</updated><author><name>diarant</name><uri>https://forge.codesys.com/u/diarant/</uri></author><id>https://forge.codesys.comee9829af501b884249d28d1371d2d55ba503878b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Iam trying to solve couple issues with SFC. Any help would be highly appreciated.&lt;br/&gt;
1. en each step i have set time limit. How can i use this to a) exit sequence or b) to jump into stopping actions (for example stopping step and then go on from there)&lt;br/&gt;
2. how exit conditions work? if i set one in step and then i open it. and i put there box of AND with both conditions TRUE how this will exit step? Or where does it exit? jus normally it goes on when next transition is met or how? &lt;br/&gt;
3. I could not find any good examples about codesys SF. DOes anybody know where to find one?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>