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 Monitoring via implicit variables

Anonymous
2005-11-27
2005-11-29
  • Anonymous - 2005-11-27

    Originally created by: ninnanderson

    Can anyone tell me where to find the SFC Implicit vaiable - Im particularly interested in enabling an SFC via the SFCInit flag

     
  • Anonymous - 2005-11-29

    Originally created by: Bernhard Werner

    Hello,

    those Variables are not implicit! SFCInit has to be declared explicitly to take effect. For information about the SFC Flags read the online help topic "SFC flags".

    Bernhard

     
  • Igor Petrov

    Igor Petrov - 2005-11-29

    1) Declare SFCInit : BOOL; variable inside the SFC POU.

    2) SFCInit := TRUE; stop SFC

    3) SFCInit := FALSE; init and run SFC

     

Log in to post a comment.