SFC Control Flags
GF_ProjectVX code provides some control flags for SFC program or function blocks.To enable this feature, please refer to paragraph 4.6.2.Those flags are: means the name of the SFC POU (program or function block).For example, if the SFC POU is named Main, the control flags will be named Main_HOLD_ SFC and Main_RESET_SFC.Another couple of actions is available for every SFC action, which also are contained in a SFC POU.For example, if the above program Main contains a SFC action named Execute, the con-trol flags of this action will be Main_Execute_HOLD_SFC and Main_Execute_RESET_SFC.These flags functionalities are described in details on next paragraphs.GF_ProjectVX Code Language Extensions The initial situation of a SFC network is characterized by the initial step which is in the active state upon initialization of the program or function block containing the network.
_HOLD_SFC (type BOOL); _RESET_SFC (type BOOL).