AI control generator.
Create a Custom Web Control (CWC) or a Dynamic SVG for WinCC with AI. Describe what you need and generate your resource in HMIx.
Made with the HMIx AI Generator
This resource was created with AI on ai.hmix.tech. Describe what you need and generate your own HMI controls in minutes — free.
Custom Web Control
About Historical Data CSV Exporter
The Historical Data CSV Exporter is a high-performance Custom Web Control designed for WinCC Unified and WinCC V8 environments. It provides a streamlined interface for operators to query, preview, and export historical logging data directly from the HMI. By bridging the gap between raw database logs and actionable spreadsheet reports, this control empowers plant personnel to perform localized data analysis without leaving the SCADA environment.
Key Features
- Interactive Time-Range Selection: Operators can define precise windows using the startTimestamp and endTimestamp properties, with labels fully localized via startLabel and endLabel.
- Live Data Preview: A built-in tabular view displays historical records defined in the loggingTags array, limited by the maxPreviewRows property to maintain UI performance.
- One-Click CSV Generation: The control compiles data from the historicalDataJson property into a standard CSV format, utilizing the fileNamePrefix for consistent file naming conventions.
- Event-Driven Integration: Built-in triggers like QueryRequested and ExportTriggered allow for seamless synchronization with PLC scripts and HMI logging databases.
Customization
Engineers can fully integrate the control into their existing HMI theme using the backgroundColor property. The interface is highly flexible, allowing custom captions for the previewButtonText and exportButtonText. Furthermore, the control exposes methods such as setHistoricalData and triggerExport, enabling programmatic control over the data lifecycle and export sequences.
Use Cases
- Compliance Reporting: Quickly generate shift reports for environmental or quality audits.
- Troubleshooting: Export specific time-stamped events to Excel for deep-dive root cause analysis.
- Inventory Management: Extract historical consumption logs for supply chain planning.
Compatibility
This control is fully compatible with WinCC Unified (TIA Portal) and WinCC V8. It supports standard web technologies and integrates directly into the TIA Portal library for rapid deployment across PC-based stations and Unified Comfort Panels.
💡 TIA Portal Reminder: Remember to uncheck the "Read only" option in TIA Portal when linking a tag to a property that needs to be written from the Custom Web Control, such as the timestamp filters. If you do not, the CWC will only be able to read the HMI tags and not update them during operator interaction.
⚠️ AI-Generated: This custom web control was automatically generated using AI. Please test and validate all export logic and data integrity before deploying in production environments.
⚠️ AI-Generated: This custom web control was automatically generated using AI technology. It may contain errors or unexpected behavior. Users are responsible for testing and validating before using in production environments.
## Current version: v1 (2026-10-07)0 Reviews
Product Reviews (0)
No Reviews Found
No reviews yet — be the first to review