Scripts in WinCC!!

Tarek_Ashraf

Member
Join Date
Mar 2009
Location
cairo
Posts
16
Hello,Im a student and in my project Im working on WinCC flexible 2005....but i have a problem...i wrote a script using visual basic to calculate el RMS voltage from a record of instantaneous readings...and made an internal tag for the Vrms and made an I/O field for this internal tag but when using runtime only el instantaneous voltage is read but the Vrms always equals zero....and attached my visual basic script...could anyone please help me with this problem...
Thanks...
 
Sometimes when the scripts are not working they will run to the line that is giving trouble then end. I would goto the bottom of the script and set the Vrms value to a odd number like 1234. Then run the script and see if I get 1234 on the output. Then keep moving the 1234 value up in the script to determine where the script is stopping. I bet your not getting the data out of the database.
 

Similar Topics

hello, i need these files down here, DBExt-DLL (realizes database connections of WinCC-Skripting) MessageStatistic-DLL (status message...
Replies
0
Views
1,019
Hey guys, I am trying to write a vb script in wincc 2007 flexible. Basically I need to have a button which is on my overview on every screen...
Replies
1
Views
1,613
Hi Everyone, One of the projects we have has a very large number of scripts that require translating. It would be great if we could export the...
Replies
3
Views
1,863
Hello, I am using WinCC Flexible and want to test a script with the runtime simulator. Does anyone know if the scripts will run in the...
Replies
10
Views
8,737
Hi, I hope someone can help me with this. I have managed, using scripts, to export data in a .csv file. The problem I have is that when I open...
Replies
4
Views
2,467
Back
Top Bottom