PLC Log Export | Custom Web Control | WinCC Unified & V8

Free

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 PLC Log Export

PLC Log Export is a Custom Web Control for WinCC Unified and WinCC V8 that lets operators browse the folder structure of a PLC file system, select a log file and export it with a single action. The control shows a busy state while the host performs the export and closes each request with a clear success or error banner.

Key Features

  • Folder browser: Navigates the PLC file system from the fileListing and currentPath properties, with a parent folder button.
  • File selection: Highlights the chosen file and publishes its full path through selectedFilePath.
  • Export workflow: The exportButtonText and exportingText captions switch automatically while the export runs.
  • Result banner: resultState and resultMessage report the outcome, with fallback texts when the host sends no message.
  • Safety timeout: safetyTimeoutMs releases the busy state and raises ExportTimedOut if the host does not answer in time.

Customization

Every label and tooltip is defined as a String property, so the control can be translated or adapted without changing its code. Use backgroundColor for the surface color, plcName and plcChipTooltip for the source PLC, tagText and titleText for the header, filesLabelText, itemSingularText and itemPluralText for the item counter, and emptyFolderText for empty folders. Host scripts drive the control through setBusy, setExportResult, clearSelection and navigateTo.

Use Cases

Ideal for log retrieval screens in control rooms, maintenance panels where technicians collect diagnostic files directly from a PLC, and service dashboards where an operator must trigger an export and confirm its result.

Compatibility

Works with WinCC Unified (TIA Portal) and WinCC V8. In TIA Portal, uncheck the Read only option for every HMI tag the control must write, such as currentPath and selectedFilePath. Otherwise the control can only read those tags.

AI-Generated: This custom web control was generated with AI. Test and validate it thoroughly before deploying it 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.

Share this item:
Version:v1
Last Update:Dec 4, 2026
Published:Dec 4, 2026
Layout:SIEMENS - SIMATIC

Product Reviews (0)

Question and Answers (0)

You may also like

Free