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 Reset

JCPKemper
2014-02-27
2014-02-28
  • JCPKemper - 2014-02-27

    I use the SFC editor a lot and would like to know how to reset an SFC. I thought you could use the SFCName.Reset but that internal bit does not seem to be available. Also if you develop a user function block using SFC which then gets inserted into a program as a function block how would you reset that SFC inside the function block

     
  • Ralph Holz - 2014-02-28

    Just publish the flag with the declaration:

    VAR_INPUT
    Β  Β  Β  SFCReset: BOOL;
    END_VAR
    

    BR
    Ralph

     

Log in to post a comment.