Dialog Box ‘Project Settings’ - ‘SFC’

Symbol: 63bf39485fc04420c0a8640e01b542da_35ce08bd17320f34c0a8640e01f6f1e7

Function: This dialog box is used for configuring the settings of SFC objects. The properties of each new SFC object automatically have the configured settings.

Call: Main menu Project ‣ Project Settings (SFC)

Requirement: A project is open.

Tab ‘Flags’

Implicitly generated variables for checking and monitoring the processing in an SFC diagram
Use 63bf39485fc04420c0a8640e01b542da_9a3f06830c0506c5c0a8640e012f0ace : The variable is used.
Declare 63bf39485fc04420c0a8640e01b542da_9a3f06830c0506c5c0a8640e012f0ace : The variable is created automatically. Otherwise, you have to declare the variable explicitly if you intend to use it (Use is selected).
Apply to all CODESYS applies changes to existing SFC objects. CODESYS selects the Use defaults check box in the properties of the SFC POUs.

Attention

Automatically declared variables are visible in the declaration section of the SFC editor only in online mode.

Tab ‘Build’

Code generation
Calculate active transitions only 63bf39485fc04420c0a8640e01b542da_9a3f06830c0506c5c0a8640e012f0ace : CODESYS generates code only for active transitions.
SFC Library
This part of the dialog box is available only for compiler versions < V3.4.1.0.

Company

Title

Version

Defines the SFC library that CODESYS uses by default.
Namespace Enables unique references to libraries. Required when various versions of the library are available on the system. Please make sure that there are no discrepancies between the namespace defined in the library manager and the namespace defined for the individual object. The SfcIec.library data is used for the default settings that CODESYS provides with the default profile.

Note

Each SFC block stores the information via the library version that applied when you added the block. This can cause you to use multiple library versions within the same project. In order to prevent this, you are prevented from defining specific versions of IecSfc.library (as of compiler version V3.4.1.0). The library version, which you use for all SFC blocks 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.

See also

  • SFC Flags
  • Guidelines for Library Developers: reuse