HOANLK
  • Login
  • Register
Cart / 0$

No products in the cart.

No Result
View All Result
  • Home
  • Automation
    • SIEMENS
    • PANASONIC
    • SERVO
    • EPLAN
    • MITSUBISHI
  • Technology
    • .NET
    • PYTHON
    • IOT
  • LIBRARY
  • Project
    • Project 2019-2023
  • Shop
  • Contact
  • English
    • Tiếng Việt
    • English
    • Русский
HOANLK
No Result
View All Result

Guide Reporting data Wincc to Excel

by hoanlk
30/10/2023
in SIEMENS, C-SHARP

Creating and maintaining machine data records is a very important part of keeping the machine running efficiently. For example, monitoring downtime and downtime is critical to providing proper maintenance on a machine, while logging breaks and other events can help provide Provides detailed information on how to troubleshoot any system. Maintaining these data logs sometimes requires the purchase of additional software and hardware, as well as several programs to integrate everything together.

For Siemens, specifically WINCC software, we have many ways to put data and display them. For purposes of analysis, evaluation, storage, reporting.

In this article, I will use a library written in C# and embedded in the software, making it easier to manage, the data we can fully control and monitor.

Set up database in SQL

You go to SQL Server to create the necessary table to store like your example: Database OPC, Table DEMO.

Wincc ra Excel

Setup in Wincc

Drag and drop Control HDataHistory in the .Net Controls folder.

2 7

3 8

Fill in the NameDatabase and NameTable information as below, Because above I created the table as DEMO and the Database name as OPC.

4 6

Run Runtime Wincc as below.

5 4

You choose the date and time and press the Find button to filter out the necessary data.

6 3

If you want to export the report to Excel, then you can click on the EXPORT button to manually export the Excel file as the sample I did

7

It’s a way of exporting reports that doesn’t depend much on Wincc’s code but still ensures stable operation. You can create your own library from using Visual Studio.

Library link : Link

IT DIFFERENCE BETWEEN IT AND OT Modbus RTU Eplan

Share this…
  • Facebook
  • Twitter
  • Linkedin
  • Whatsapp
  • Pinterest
Tags: C-SHARPEXCELITSIEMENSWINCC
hoanlk

hoanlk

Related Posts

SIEMENS Sim EKB Install TIA PORTAL V20
SIEMENS

SIEMENS Sim EKB Install TIA PORTAL V20

22/03/2025

SIEMENS Sim EKB Install TIA PORTAL V20 Below is the EKB application for Tia Portal V20 Link Tia Portal V20...

Get TagPrefix WINCC PRO V13-V19
SIEMENS

Get TagPrefix WINCC PRO V13-V19

22/03/2025

GetServerTagPrefix Description TagPrefix In order for a WinCC client in a distributed system to access tags of the associated server,...

PLC INOVANCE C# VISUAL STUDIO 2017
C-SHARP

PLC INOVANCE C# VISUAL STUDIO 2017

27/08/2024

https://youtu.be/xQFevQH5IBE?si=-s-LYoj5K2RZm8oE Introduce Hello everyone! Monitoring and storing data is a necessary need of every factory, business, company, and production workshop....

Summary of errors in SIEMENS WINCC V7
SIEMENS

Summary of errors in SIEMENS WINCC V7

25/08/2024

I. Server not available, Cannot connect to server 1: Check whether SQL status is running or not in SQLServermanager 2:Check...

Kết nối OPC DA C# và KepwareV6
C-SHARP

Connect OPC DA C# and KepwareV6

06/05/2024

I. Introducing OPC DA What is OPC DA? OPC DA (OLE for Process Control - Data Access) is a communication...

PROFIBUS OLM và Cấu Hình PROFIBUS OLM Siemens
SIEMENS

PROFIBUS OLM and PROFIBUS OLM Configuration Siemens

24/04/2024

What is PROFIBUS OLM? PROFIBUS OLM is designed for use in optical PROFIBUS fieldbus networks. They allow conversion between electrical...

Next Post
What is WinCC Unified?WinCC Unified V16-V18

What is WinCC Unified?WinCC Unified V16-V18

EPLAN Electric P8 API: Quick tips for creating design drawings

EPLAN Electric P8 API: Quick tips for creating design drawings

S7-300: Guide Access Bit Word to ArrayBit in TIA PORTAL

Comments 3

  1. Hoin Kim says:
    2 years ago

    Hello. I found a good reference material while studying Wincc and was copying it. If you don’t mind
    Can I share Control HData History?

    Reply
    • hoanlk says:
      2 years ago

      Yes. You can download this here
      https://www.youtube.com/watch?v=K8-C6VdCvBE
      https://www.youtube.com/redirect?event=video_description&redir_token=QUFFLUhqbHZ2Z3ZaX2ZsSHNqVlV0V1ZCZnNVZTlfYUZGUXxBQ3Jtc0trYllXOURwUVZLS0NqQmJTZTM2ZDJ4YVlnZTh2VlpwNmU2cFFtMFVLS05aNE1nOFFMbjlPRWphM1FUa25tcE52cTRpYl9mVzhkYkdTTUdHWlk0Tk5lb2xMbi0zN3dKSjhMRTJPeEdYMmZsa3ZyOXQwcw&q=https%3A%2F%2Fdrive.google.com%2Ffile%2Fd%2F1OoBqivLqbapNq8scnxhQc_q44czKh-QF%2Fview%3Fusp%3Dsharing&v=K8-C6VdCvBE

      Reply
    • hoanlk says:
      2 years ago

      Yes. This link in below page

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • Home
  • Shop
  • Return policy
  • Contact
  • Account

© 2023 HOANLK - Premium theme by HOANLK.

No Result
View All Result
  • Home
  • Automation
    • SIEMENS
    • PANASONIC
    • SERVO
    • EPLAN
    • MITSUBISHI
  • Technology
    • .NET
    • PYTHON
    • IOT
  • LIBRARY
  • Project
    • Project 2019-2023
  • Shop
  • Contact
  • English
    • Tiếng Việt
    • English
    • Русский

© 2023 HOANLK - Premium theme by HOANLK.

Welcome Back!

Login to your account below

Forgotten Password? Sign Up

Create New Account!

Fill the forms below to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In