Dialog ‘Properties’ - ‘SFC Settings’

Function: The dialog defines the default settings for all POUs used in the project, which are programmed in SFC.

Call: Main menu View ‣ Properties , context menu of a SFC POU in the view Device or POUs.

Flag

List of all possible SFC flags

Use : The SFC flag is activated and will be considered in the program execution.

Declare : The SFC flag is declared automatically.

If Declare is activated, but Use is not activated, the variable will be declared but the flag has no effect in the program execution.

Hint: If you have manually declared a SFC variable you have to disable the declaration of this flag in the SFC settings. Otherwise the automatically generated flag will overwrite the manually declared flag.

Hint: A automatically declared flag variable is only visible in the online mode in the declaration part of the SFC editor.

Use defaults : The settings of this dialog overwrites the SFC settings of the single POUs.

See also

Build

Code generation
Calculate active transitions only : CODESYS generates code for the currently active transition only.