Wincc dump to CSV/Excel sheet

ZAMA22

Member
Join Date
Feb 2015
Location
Midrand
Posts
2
Hi guys, I'm currently busy with a Wincc project which requires me to dump field data and physical inputs entered by an operator on a Wincc scada to a csv file for reporting purposes. Now this is my first time working with wincc and i just want to know how i can go about doing this??? i understand that some form of scripting may be required and to be honest i kinda suck donkey nuts when it comes to scripting!!! but either way I'm willing to learn:oops: Any tips or pointers???

Thanks in advance
 
In WinCC,Scripting is available in "C" and VBS

Sounds like you're going to end up doing some scripting. I haven't written CSV files but I've done TXT files a few times and CSV is only formatted text. I'm guessing you willneed to build an array of strings, where each string represents one line, and write it out to a file.

With a CSV file, each line should contain the required numnber of separators even if there is no data.

Maybe someone could offer a better solution?

Nick
 
Maybe this can be of help! With these advices from the thread I posted I created a VB script that logged the values I choosed. I could even name the .csv file from the PLC and it will create the file if it doesn't exist and if it does it will add.

Read through the script and you will understand it, it's actually pretty simple when you get to "know" it!
 

Similar Topics

is there any free trial version available for step7 professional and wincc comfort v17. i searched and downloaded TRIAL Download STEP 7...
Replies
1
Views
87
Hello. I have a db which is 1000 INT, and this db is represented in WinCC as a raw data type set of 5x 400 Bytes. This set is read with a script...
Replies
1
Views
96
Hello Experts I am working on a project with WinCC Unified v16 PC system and want to create an option on the screen to export logs to the...
Replies
0
Views
78
Does anyone happen to know how to install the graphic picture in HMI when I go into blower selection there are no graphics shown not only blower...
Replies
1
Views
112
Hi folks, I'm not as accustom with Siemens & WinCC, however I've been asked to increase the amount of data an existing application is logging...
Replies
2
Views
92
Back
Top Bottom