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
Can anyone tell me where to find the SFC Implicit vaiable - Im particularly interested in enabling an SFC via the SFCInit flag
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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
1) Declare SFCInit : BOOL; variable inside the SFC POU.
2) SFCInit := TRUE; stop SFC
3) SFCInit := FALSE; init and run SFC