Dialog: Project Settings – SFC
Symbol: 
Function: The dialog is used to configure the settings for SFC objects. Each new SFC object automatically has the configured settings in its properties.
Call: command, SFC category
Requirement: A project is open.
Tab: Flags
Use |
|
Variable | Implicitly generated SFC flag variable which can be used for controlling and monitoring the processing of an SFC chart. |
Declare |
If the Declare check box is selected but Use is not, then the variable is declared, but the flag has no function during processing. Note: If you have manually declared an SFC flag variable, then you need to deselect the declaration for this flag in SFC Settings. Otherwise the automatically declared flag overwrites the manually declared flag. Note: An automatically declared flag variable is visible in the declaration part of the SFC editor only in online mode. |
Description | Describes the function of the SFC flag and the effects of setting it. |
Apply to All | In this dialog, CODESYS applies changes to existing SFC objects. CODESYS selects the Use defaults option in the properties of the SFC POUs. |
Important
An automatically declared SFC flag variable is visible in the declaration part of the SFC editor only in online mode.
Tab: Build
Calculate active transitions only |
|
This part of the dialog is available only for compiler versions < 3.4.1.0. | |
Company Title Version | Defines the SFC library which CODESYS uses by default |
Namespace | When defined, allows for unique addressing of libraries Required when various versions of the library are available on the system Make sure that there are no inconsistencies between the namespace defined in the Library Manager and the namespace defined for the individual object. The data of the |
Tip
Each SFC POU stores the information about the library version which was valid when you added the POU. This can lead to you using multiple library versions within the same project. In order to prevent this, you can no longer define specific versions of the IecSfc.library in compiler version 3.4.1.0 and higher. The library version, which you use for all SFC POUs in the project, is defined with a placeholder. CODESYS resolves the placeholder depending on the compiler version in use. The allocation of the library version to the compiler version is defined in the library profile.
Tab: Analyzation
Compatibility mode | The analysis is based on the language model of the transition objects. If you use transition objects or property objects in alternative branches, this mode may provide incomplete analysis expressions. The mode also requires the Calculate active transitions only property to be activated. |
Multibranch mode | The SFC object performs the analysis itself. This mode provides complete analysis expressions even if you use transition objects or property objects in alternative branches. If the Multibranch mode option is activated, it sets the This feature is available as of CODESYS 3 version 3.5.22.20. |

