Summary: Add a runtime feature that allows WinCC Runtime Advanced to continue logging and operating when the license key is temporarily unavailable (networked license server unreachable or dongle disconnected), while ensuring licensing compliance.
Proposed behavior (defaults — adjustable in UI):
Implementation notes (high level):
Default recommended settings:
If you want, I can convert this into:
The "License key not available! WinCC Logging for Runtime Advanced" error typically occurs when a PC-based WinCC Runtime Advanced application attempts to access historical data features—such as alarm or tag logging—without a valid dedicated logging license. While basic runtime functions might continue with periodic nag pop-ups, historical data collection will fail until the license is properly installed and recognized. Core Causes of the Error Siemenshttps://support.industry.siemens.com WinCC Logging for Runtime Advanced - 6AV2107-0GA00-0BB0
The "License key not available! WinCC Logging for Runtime Advanced" error is a common hurdle in Siemens TIA Portal projects when transitioning from engineering to live operation. This error occurs because WinCC Runtime Advanced requires a dedicated, additional license for data and alarm logging. Core Cause: The "Option" Requirement
The primary reason for this error is that WinCC Logging is considered an "option" rather than a built-in feature of the standard Runtime license.
Standard License: Covers basic Runtime operations like screen navigation and PLC communication (PowerTags).
Logging License: Specifically enables the archiving of historical process data (Tag Logs) and Alarm Logs.
Comfort Panels vs. PC Runtime: While physical Comfort Panels include logging capabilities without extra cost, the PC-based WinCC Runtime Advanced requires you to purchase the logging option separately. Troubleshooting and Solutions 1. Verify and Install the Missing License
If you are logging process tags or alarms, you must have the SIMATIC WinCC Logging for Runtime Advanced license (e.g., Article No: 6AV2107-0GA00-0BB0).
Action: Check your Siemens Automation License Manager (ALM) to see if this license is present on your local drive or USB.
Recovery: If the license was previously installed but is now missing or marked "defective" (red cross), it may be due to an improper IPC shutdown. Use the Official Siemens Support Request to recover damaged licenses if you have the original Certificate of License. 2. Disable Logging (Workaround for No-Cost)
If you do not actually need to save historical data and only want to clear the error message, you can disable the logging functions in your project.
Title: License Key Not Available for WinCC Logging in Runtime Advanced
Description:
I'm experiencing an issue with WinCC logging in Runtime Advanced where I'm receiving an error message stating that the license key is not available. Has anyone else encountered this problem? I'm trying to set up logging for my HMI application, but I'm unable to proceed without a valid license key.
Details:
Troubleshooting Steps:
Questions:
Help Appreciated:
Any assistance or guidance on resolving this issue would be greatly appreciated. Please share your experiences or knowledge on this topic.
Example Solutions:
Siemens uses the Automation License Manager (ALM). Common issues include:
In this case, there doesn't seem to be a direct mathematical or code solution. However, if you're looking for a way to implement logging or handle license keys programmatically, you might need to refer to the WinCC API documentation or Siemens developer resources.
The error "License key not available! WinCC Logging for Runtime Advanced" occurs because the WinCC Logging license is an optional add-on that is not included in the standard WinCC Runtime Advanced license. Why the error appears
Separation of Licenses: Unlike Comfort Panels (where logging is included), PC-based WinCC Runtime Advanced requires separate licenses for core runtime, logging (tags and alarms), and recipes.
Active Features: The message is triggered as soon as any Tag Logging or Alarm Logging is configured in your TIA Portal project.
Simulation Mode: The error will also appear during simulation if your engineering station is connected to a PLC and you lack the proper runtime option licenses.
Acquire the License: You must purchase the SIMATIC WinCC Logging for Runtime Advanced license key (MLFB: 6AV2107-0GA00-0BB0 or similar) and install it using the Automation License Manager (ALM).
Check for Corruption: If you already own the license, verify its status in the ALM. If the IPC was shut down improperly, the license may be marked as defective. You can right-click the license in ALM and select "Check" to verify its integrity.
Disable Logging (Temporary Fix): To stop the message without buying a license, you must remove all configured data logs and alarm logs from your project and re-download it to the target system. license key not available wincc logging for runtime advanced
Disable GMP Check: In some cases, checking the "Good Manufacturing Practice" (GMP) box in Runtime Settings triggers additional licensing requirements. Ensure this is unchecked if not needed.
The error message "License key not available! WinCC Logging for Runtime Advanced" typically occurs because SIMATIC WinCC Runtime Advanced requires an additional, separate license for any archiving or logging functions (tags, alarms, or recipes). Unlike Siemens Comfort Panels, which include logging functionality, the PC-based Runtime Advanced version requires the WinCC Logging for Runtime Advanced option to be purchased and activated independently of the base PowerTags license. Common Root Causes & Solutions
Missing Optional License: Even if you have a valid "WinCC Runtime Advanced [X] PowerTags" license, you must also have a WinCC Logging for Runtime Advanced license key (e.g., MLFB: 6AV2107-0GA00-0BB0) if your project contains a "Data Log" or "Alarm Log".
Defective License Keys: If the license is installed but showing as unavailable, it may be "defective." This often happens if the Industrial PC (IPC) was shut down improperly (e.g., power failure) without closing the Runtime software first. Check the Automation License Manager (ALM) to see if the key is marked as "defective".
Version Mismatch: Ensure the license version matches your installed TIA Portal version. For example, a V16 Logging license will not work for a V17 Runtime unless you explicitly configure the project to use the older V16 runtime version.
Outdated ALM: Sometimes the license service fails to recognize valid keys if the software is outdated. Updating the Automation License Manager to the latest version frequently resolves "pseudo-license" errors.
Simulation vs. Production: This message will also appear during simulation in TIA Portal if the local engineering PC does not have the logging license. While you can ignore it for testing, the license must be present on the target IPC for production. Troubleshooting Steps
The error "License key not available! WinCC Logging for Runtime Advanced" usually means you have configured tag or alarm logging in your project, but the PC running the Runtime is missing the specific add-on license for that feature.
Unlike Comfort Panels, where logging is included, PC-based WinCC Runtime Advanced requires a separate license for logging. Key Reasons & Solutions Missing "WinCC Logging" License Key
The Problem: You likely have the main "WinCC Runtime Advanced (PowerTags)" license, but logging (historical data) requires its own key.
The Solution: Verify in the Automation License Manager (ALM) if you have a license named similar to "SIMATIC WinCC Logging for Runtime Advanced". Version Mismatch or Defective License
Upgrade Required: If you upgraded your TIA Portal project (e.g., from V15 to V17), your old license may need a manual upgrade in the ALM before it is recognized.
Defective Status: If the license appears in ALM but is marked with a red/yellow icon, it may be "defective". This often happens if the PC was shut down improperly. You can try to restore defective licenses through Siemens Technical Support. Accidental Simulation Error
If you are just simulating a project on your engineering PC, you can often ignore this message; it shouldn't stop the simulation from working for testing purposes. However, a connection to a real PLC may trigger the license check. Ghost Services (e.g., Sm@rtServer)
Sometimes, an error for a missing license (like Sm@rtServer) appears even if the feature isn't used because its service is set to "Autostart". While less common for Logging, ensure no unused logging tasks are accidentally active in your "Historical Data" settings. Troubleshooting Checklist
If the license exists but is corrupted:
.ALF or .EKZ).Given the context, here's a feature request that could potentially address your issue and provide more value to users:
Feature Name: Flexible License Management and Advanced Logging for WinCC Runtime
Description: Implement a more flexible and user-friendly license management system for WinCC Runtime Advanced. This system should provide clear, detailed logging of license usage, allow for easier management of license keys, and offer notifications for license expirations or limitations.
Key Features:
Centralized License Management Portal:
Advanced Logging for Runtime:
Real-time Notifications:
Improved User Interface:
Compliance and Reporting Tools:
Benefits:
Implementation Plan:
By implementing such a feature, Siemens can enhance the user experience for WinCC Runtime Advanced, improve operational efficiency, and provide a more scalable and flexible solution for license management and logging.
Subject: License Key Not Available – WinCC Logging for Runtime Advanced
Deep Feature Analysis & Troubleshooting Guide
You have a valid base license for WinCC Runtime Advanced (e.g., 512, 2048 power tags), but you did not purchase or install the separate Logging option. Many users mistakenly believe the base license includes historical logging—it does not.
| Problem | Solution | | :--- | :--- | | License is on USB, but not detected | Re-insert the USB dongle into a USB 2.0 port (avoid hubs). Restart ALM as Administrator. | | Network license not found | Open ALM → Network → Select license server by IP address. Ensure firewall allows port 18750. | | License shows as "In use" elsewhere | In ALM, click "Transfer license" to move it from network server or other PC to your runtime PC. | | ALM service not running | Open Services.msc → Siemens Automation License Manager Service → Set to Automatic and Start. | Grace period mode