Kkula
I have M21.3 that is Set and Reset in over 20 different FC's.
I want to Set or Reset M21.2 whenever M21.3 is Set or Reset.
Is there one place I can write the logic so this happens accordingly, without having to Set and Reset M21.2 in each individual FC??
Thanks in advance....
Yes, you can achieve this without modifying each FC individually. Utilize a Global Data Block (DB) and a dedicated Organization Block (OB) to handle the logic.
IF M21.3 THEN M21.2 := TRUE; ELSE M21.2 := FALSE; END_IF; (For setting M21.2 based on M21.3)This centralized approach ensures M21.2 is consistently controlled based on M21.3, simplifying maintenance and reducing errors. Refer to the SiePortal for details on Global Data Blocks and OB configuration: Siemens SiePortal - Global Data Blocks and Siemens SiePortal - Organization Blocks
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.