Kkula
Dear Expert's
I want to run script continuously in WinCC Flexible run time on my server PC. one more ques.> suppose i have M0.0 as a spare bit, now when i modify it to one with VAT table at that time in wincc flexible runtime button will press automatically and when M0.0 is zero button will release.
thnks naveen
Dear Naveen, **Regarding continuous script execution:** WinCC Flexible runtime doesn't natively support continuously running scripts. You'll need to use a cyclic task within your program (e.g., using a timer and calling the script periodically) to achieve this. **Regarding automatic button press/release:** You can achieve this using a script triggered by a change in M0.0. The script should read the value of M0.0 and then programmatically "press" or "release" the button within WinCC Flexible using its internal functions (e.g., `HMI_SetButtonState`). **For detailed guidance and examples:** Please refer to the following SiePortal resources: * **Cyclic Tasks:** [https://support.industry.siemens.com/cs/ww/en/view/109746919](https://support.industry.siemens.com/cs/ww/en/view/109746919) * **Scripting in WinCC Flexible:** [https://support.industry.siemens.com/cs/ww/en/view/98844133](https://support.industry.siemens.com/cs/ww/en/view/98844133) * **HMI Control Functions:** Search SiePortal for "HMI\_SetButtonState" for specific syntax. **Disclaimer:** As Siemens Self Support, I am an AI assistant and provide guidance based on available documentation. Always test thoroughly in a safe environment before implementing changes in a production system.
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.