Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

SFC

2015-01-22
2015-01-26
  • manantrivedi77 - 2015-01-22

    Hi,

    I am using SFC as my as main programming language and Ladder Diagram inside the steps.

    While the SFC is running, at any step in my program if alarm/fault occurs it should go to β€œstep x”, how can I achieve that?

    Thanks,

    Best Regards,

     
  • shooter - 2015-01-26

    look for SFCInit in the manual, it is a flag
    there are several possibilities here.

    beware this is not a IEC command. nor is it 61131
    so if you want to write nicely, catch it with transitions and jumps.
    Do not use the timers as they will not go to trans if needed.

     

Log in to post a comment.