Seafoxc
I have worked with the SFC language for a while know and I will list here some Bugs and workarounds. 

Error when adding (Start) Step

In this example I will show you the problem and solution with the Start Step but it is the same with any step.
Step0_Error.jpg   
In RED is the error. You get this error when you don't change the textboxes (so you left them default). 
Solution: Just tick a textbox on and then tick it back off. You will also see the block appear in the preview window after you did this.


SFC not running when first transition is true on start-up


If this is the case the SFC will stay in step1. In simulation you can force the transitions until you get back to step0 and it works. 
 
BUG_SFC.jpg 


Workaround
Adding a timer for even only 1ms will resolve this issue.

BUG_SFC_WORKAROUND.jpg 


I have no Idea what I'm doing...
Reply 0 0
thiagoralves
Thanks for bringing that up @Seafoxc! I will check those nasty bugs once I have some spare time.
Reply 1 0
Reply