Troubleshooting SFC V8.1 Launch Failures and Licensing Errors in STEP 7 and D7-SYS
In SIMATIC STEP 7 and D7-SYS environments, sequential function chart launch failures and startup errors typically occur because the standalone S7-SFC engineering software has not been licensed, required COM automation components have lost system registration, or the CFC and SFC service pack levels are mismatched. Installing D7-SYS V8.1 installs the SFC editor interface, but executing SFC requires an active SIMATIC S7-SFC license in Automation License Manager. Without this license or when operating on an unsupported Windows edition without local administrative privileges, SFC crashes upon initialization. To resolve this, transfer a valid S7-SFC engineering license, align CFC and SFC hotfix revisions, and re-register system DLLs.
Table of Contents
- SFC Architecture Across STEP 7, PCS 7, and D7-SYS
- Root Causes of SFC V8.1 Startup and Editor Errors
- SFC and CFC Compatibility Matrix in STEP 7 Environments
- Step-by-Step Procedure to Restore SFC Launch Functionality
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
SFC Architecture Across STEP 7, PCS 7, and D7-SYS
The Sequential Function Chart (SFC) system in Siemens automation provides a graphical state-machine programming environment complying with IEC 61131-3. While predominantly deployed inside SIMATIC PCS 7, SFC is also utilized in standalone STEP 7 V5.5 projects and high-performance control systems utilizing SIMATIC D7-SYS (for FM 458-1 DP and TDC application modules).
Unlike standard ladder (LAD) or function block diagram (FBD) editors embedded directly in STEP 7 Professional, SFC is an independent COM-based engineering software application (s7sfcapp.exe). It relies on deep integration with Continuous Function Chart (CFC) (s7cfcapp.exe), the S7 database manager, and the S7-SCL compiler. When an engineer installs D7-SYS V8.1, the setup routine places the SFC binary executables onto the operating system. However, the software cannot execute unless the underlying COM type libraries are registered with the Windows operating system and an active engineering license entitlement is detected by the Automation License Manager (ALM) daemon.
Root Causes of SFC V8.1 Startup and Editor Errors
When attempting to open an SFC chart or the SFC Type Editor, launch crashes or non-specific error dialogs occur due to three primary architectural bottlenecks:
-
Missing or Expired S7-SFC Engineering License: When D7-SYS V8.1 is installed on a machine running STEP 7 Professional 2010 SR4 without a full PCS 7 installation, engineers often assume STEP 7 Professional licenses SFC. In reality, STEP 7 Professional licenses only STEP 7, S7-GRAPH, S7-SCL, and S7-PLCSIM. S7-SFC requires an independent floating license key (
SIMATIC S7-SFC Engineering V8.1). Without this license in ALM, the editor terminates immediately. -
Version and Service Pack Skew Between CFC and SFC: SFC V8.1 requires an exactly paired release of CFC (CFC V8.1 with identical Update revisions). If STEP 7 Professional contains an older CFC version (such as CFC V8.0 or CFC V7.1) and D7-SYS updates only SFC, internal API calls across
s7sfcapx.dllands7cfcx.dllfail due to binary interface mismatches. -
COM Component Registration and Windows UAC Restrictions: In Windows 7 SP1 Ultimate (64-bit), installing software without running the installer explicitly as Administrator can prevent COM GUIDs from being written to
HKEY_CLASSES_ROOT. When SIMATIC Manager attempts to spawn the SFC ActiveX container, Windows denies permission or reports class not registered.
SFC and CFC Compatibility Matrix in STEP 7 Environments
The following table summarizes software prerequisites, licensing requirements, and component versions for SFC V8.1:
6ES7816-0CA08-0YA56ES7813-0CA08-0YA56ES7852-0CC03-0YA56ES7810-5CC11-0YA56ES7658-2BA58-0YA0Step-by-Step Procedure to Restore SFC Launch Functionality
To resolve SFC launch crashes and establish operational sequential chart programming:
-
Verify and Transfer Licenses in Automation License Manager:
- Launch Automation License Manager (ALM) from the desktop or Start Menu.
- Inspect local driveC:for the keySIMATIC S7-SFC. If onlySTEP 7 Professionalis listed, obtain and transfer the floating license for S7-SFC V8.1 (6ES7816-0CA08-0YA5).
- Right-click the transferred license and select Check to verify integrity. -
Harmonize CFC and SFC Software Versions:
- In SIMATIC Manager, open Help -> About -> Installed Software.
- Review the installed versions of CFC and SFC. Both components must share the exact major and minor version (e.g., CFC V8.1 Upd1 and SFC V8.1 Upd1).
- If versions differ, install the corresponding CFC update package from Siemens Industry Online Support to eliminate binary calling conflicts. -
Re-register SFC and CFC COM Libraries:
- Close SIMATIC Manager and all engineering tools.
- Open an elevated Windows Command Prompt (Run as Administrator).
- Navigate to the Siemens shared binary directory (typicallyC:\Program Files (x86)\Siemens\Step7\S7SFC\orCommon Files\Siemens\bin).
- Execute the following registration commands:
cmd s7sfcapp.exe /RegServer regsvr32.exe s7sfcapx.dll regsvr32.exe s7sfcx.ocx
- Confirm that Windows reports registration success for each component. -
Repair Installation via Setup if Corruption Persists:
- If registry keys remain damaged, launch the D7-SYS or S7-SFC V8.1 installation media.
- Right-clickSetup.exeand select Run as administrator.
- Select Repair and complete the system restart when prompted.
Verification
Verify SFC operational stability:
1. Open SIMATIC Manager and browse to your S7 project's chart folder (Pläne).
2. Right-click the chart folder and select Insert New Object -> SFC Chart.
3. Double-click the newly created SFC chart; verify that the SFC V8.1 graphical editor launches cleanly without throwing COM or license errors.
4. Insert a test step and transition, execute SFC -> Compile, and confirm that the compilation completes with zero errors.
Limitations and Operational Precautions
- STEP 7 Professional License Exclusions: STEP 7 Professional does not include S7-SFC or S7-CFC licenses. They must be purchased as separate options when engineering outside full PCS 7 packages.
- Windows Compatibility: SFC V8.1 requires Windows 7 SP1 (32/64-bit) or Windows Server 2008 R2. Running on unsupported Windows 10 releases causes unrecoverable graphic rendering crashes.
- Commercial Accuracy Notice: Hardware configurations and engineering license upgrades should be validated against official Siemens catalogs and distributor quotations.
Engineer FAQ
Does STEP 7 Professional include the license to run SFC?
No. STEP 7 Professional includes LAD, FBD, STL, SCL, GRAPH, and PLCSIM. S7-SFC and S7-CFC require independent engineering licenses.
Can I install SFC V8.1 on top of CFC V8.0?
No. SFC and CFC must be maintained at identical version and service pack levels. Mismatched versions cause internal COM interface exceptions.
Why did SFC fail to register during installation on Windows 7?
Windows User Account Control (UAC) blocks registry writes to HKEY_CLASSES_ROOT if Setup is run without elevated administrator permissions.
Where do I download updates for SFC V8.1?
Software updates and cumulative hotfixes are available through Siemens Industry Online Support (SIOS) under the SIMATIC PCS 7 and D7-SYS update portals.
Technical References
- SIMATIC S7-SFC for S7-300/400 Programming Manual (A5E02777174-01)
- SIMATIC D7-SYS V8.1 System Manual (A5E03492582-01)
- Siemens Industry Online Support: Software Requirements for S7-SFC and CFC (Entry ID: 109780813)
Related Articles
- Permitting Repeated Stop Commands and Automatic State Transitions in PCS 7 SFC
- Resolving SFC Type Formula Programming Error 35 on FC1105 in PCS 7
- Displaying SFC Operating Mode (AUT-MAN) and State (RUN-STOP) on WinCC SFC Block Icons
Related Tags
- SFC V8.1
- D7-SYS
- STEP 7
- ALM
- Automation License Manager
- COM Registration