<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to SFCVisuGenerator_1.0.0.0.package</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f2c77409fe/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f2c77409fe/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/f2c77409fe/</id><updated>2020-02-27T18:13:14.968000Z</updated><subtitle>Recent posts to SFCVisuGenerator_1.0.0.0.package</subtitle><entry><title>SFCVisuGenerator_1.0.0.0.package</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f2c77409fe/?limit=25#f2c0" rel="alternate"/><published>2020-02-27T18:13:14.968000Z</published><updated>2020-02-27T18:13:14.968000Z</updated><author><name>JAPIB</name><uri>https://forge.codesys.com/u/japib/</uri></author><id>https://forge.codesys.com55aee666ce70495c220390e85c964dcdad93a5a2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello Ralph&lt;br/&gt;
I am glad for your answer !&lt;br/&gt;
You're right, it works better, but a small problem persists :&lt;br/&gt;
Instead of :     {implicit on} SFC1.SFCCurrentStep = '' OR SFC1.SFCCurrentStep = 'ST0' {implicit off}&lt;br/&gt;
I get :     {implicit on} SFC1.SFCCurrentStep = 'ST0' {implicit off} The test blank value still does not exist, and this step is not coloured at the start of the PLC.&lt;/p&gt;
&lt;p&gt;But everything else works well.&lt;/p&gt;
&lt;p&gt;Bests regards&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SFCVisuGenerator_1.0.0.0.package</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f2c77409fe/?limit=25#0ce6" rel="alternate"/><published>2020-02-27T18:13:13.881000Z</published><updated>2020-02-27T18:13:13.881000Z</updated><author><name>Ralph Holz</name><uri>https://forge.codesys.com/u/ralph-holz/</uri></author><id>https://forge.codesys.com7d1df36c1077a84719640f415c2ceaf13c889d1f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello Joel,&lt;/p&gt;
&lt;p&gt;I faced same Problem. Just enable in the properties of your SFC the SFCCurrentStep and it will work!&lt;/p&gt;
&lt;p&gt;Regards&lt;br/&gt;
Ralph&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 07" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=1475"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SFCVisuGenerator_1.0.0.0.package</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f2c77409fe/?limit=25#02c0" rel="alternate"/><published>2020-02-27T18:13:10.800000Z</published><updated>2020-02-27T18:13:10.800000Z</updated><author><name>JAPIB</name><uri>https://forge.codesys.com/u/japib/</uri></author><id>https://forge.codesys.com03ce2cbef9b570d63b63511bcfdb763e734818aa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
I use CODESYS V3.5 SP7 Patch 3&lt;/p&gt;
&lt;p&gt;I've got 2 visualization problems.&lt;/p&gt;
&lt;p&gt;1°) First problem :&lt;br/&gt;
I drew a SFc Module called SFC1. The initial step is called Init.&lt;br/&gt;
I then use the 'Generate SFC Visualization' command. I got a visualization called SFC1_SFC_VISU.&lt;br/&gt;
When I look at how the first step is animated I found :&lt;br/&gt;
{implicit on} SFC1.SFCCurrentStep = '' OR SFC1.SFCCurrentStep = 'Init' {implicit off}&lt;br/&gt;
And for the animation of the transition :&lt;br/&gt;
{implicit on} SFC1.Init__to__Step0{implicit off}&lt;br/&gt;
It works well.   &lt;/p&gt;
&lt;p&gt;But if my firts setp (the initial one) is not called Init, but ST0 for example :&lt;/p&gt;
&lt;p&gt;For the animation of this first step we have :&lt;br/&gt;
{implicit on} SFC1.SFCCurrentStep = 'ST0' {implicit off}The test blank value does not exist.&lt;br/&gt;
So when I start the controller that first step does not change color. &lt;br/&gt;
If I manually added "SFC1.SFCCurrentStep = '' OR " it works.&lt;/p&gt;
&lt;p&gt;And for the animation of the transition :&lt;br/&gt;
{implicit on} SFC1.Init__to__Step0{implicit off}The name of the step does not change in the expression ! &lt;/p&gt;
&lt;p&gt;2°) Second problem&lt;br/&gt;
Even if I use sep name Init, Step 0, Step1 for a little sfc test.&lt;br/&gt;
When I transfert the project into the PLC (I use CODESYS Control ...) I get 1 error for each tranisiton : &lt;br/&gt;
Invalid expressions {implicit on} Grafcet1.Init__to__Step0{implicit off} configured ; Invalid expression&lt;br/&gt;
Invalid expressions {implicit on} Grafcet1.Step0__to__Step1{implicit off} configured ; Invalid expression&lt;br/&gt;
Invalid expressions {implicit on} Grafcet1.Step1__to__Init{implicit off} configured ; Invalid expressionI can run my program, but none changes color when the SFC is changing.  &lt;/p&gt;
&lt;p&gt;Thank you in advance for your answers.&lt;br/&gt;
Best regard&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>