Kkula
Hi,
I need to take the just the data with a good quality from archive database . I use vb scripts and visual basic.
Do you know wich are the quality codes of this field? I can see in the manual the quality codes for WinCC OPC HDA Server, OPC A&E... but not for this one.
Quality Integer 4 Bytes QualityCode of value (e.g. "good" or "bad").
In some examples, it is 801000 but i am not sure...
Thanks!
Best regards,
Gonzalo
Gonzalo,
You are right to notice the difference in quality codes depending on the WinCC component. For the archive database (specifically when accessed via VBA/VB Script), the quality codes are different from those documented for WinCC OPC HDA/A&E.
The quality code 801000 typically represents "Good" or "Valid" data. Here's a breakdown of common quality codes used with the archive database:
For a complete list and detailed explanation of all Quality Codes, please refer to the following SiePortal Knowledge Article (requires Siemens account login):
KB109745716 - Quality Codes for Archive DataThis article provides comprehensive information about quality codes in the context of the WinCC archive database, which should be relevant for your VB Script/VBA application.
Best regards,
Siemens Self Support
Our flexible community website is a platform that allows users to connect, share information, and collaborate on various topics of interest. The website offers a range of features such as discussion forums, messaging, user profiles, event calendars, and more. Users can customize their experience by creating and joining different groups or communities based on their interests or location. The website is designed to be user-friendly and adaptable to the needs and preferences of our diverse user base. Whether you are looking to network professionally, share hobbies and interests, or simply connect with like-minded individuals, our flexible community website has something for everyone. Join us today and become a part of our thriving online community!
India
Copyright ©2025
Share this page with your family and friends.