Industry Online Support
Technical Forum
3/31/2007 8:04 AM | |
Joined: 8/24/2006 Last visit: 3/20/2024 Posts: 20 Rating: (2) |
HiI am using wincc v6.0 sp4 with Windows XP professional and P4 pentium processor with 1GB Ram, 80GB harddiskWincc is communicating with CPU317-2PN/DP via by profinet with 100mbps I have attached the script in the word file with this post Our application requires such that whenever tag name report changed from 0 to 1 nearly 41 tags has to be transferred to SQLWe have created the script and it is working fineBut sometimes it is running twice or thrice so same data is transferred to sql in duplicating mannerand not resetting the report tag which we are changing from PLC We have configured the action as upon change in the global script vb editorWe will trigger the script via by report tag from plc and make it 0 in the same VB script at the last lineThis tag will goes from 0 to 1 @ the rate of 3 minutes Would plz help us how to avoid the above problemAttachmentVB action.pdf (230 Downloads) |
4/2/2007 1:20 PM | |
Posts: 1776 Rating: (95)
|
Hi, read and write the variable with the wait function. search for "VBS132" in the WinCC Online help Best regards April |
3/5/2010 12:46 PM | |
Posts: 47 Rating: (3) |
The script runs when a trigger tag is modified. But if the tag is modified inside the script, we will have a new execution of the script. |
Follow us on