Kkula
Hello Everyone,
My project utilizes the standard FB126 "PNIODiag" for fieldbus diagnostics. The block works well and we get our status words from DB200 for each profibus slave, however, there is one problem.
Bit 8 (1st bit of 2nd status word) is a 'had failed' sign, intended for use in the situation that the failure may be only one scan cycle and you still have indication that the failure occurred. This works, however, once this bit is set true there is no means to reset it. I have written code to directly force this bit to false but once the bit immediately returns to true.
How can I reset this bit? A solution from within the PLC itself (as opposed to hardware configuration or PLC reset) is necessary.
Reference documentation here:
https://support.industry.siemens.com/cs/attachments/98278878/98278878_FB126_PNIODiag_en.pdf
Thanks!
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.