2/12/2021 3:58 PM | |
Joined: 9/27/2006 Last visit: 7/11/2024 Posts: 12268 Rating:
|
Hello Wladek.S; You might benefit from studying the following Application example, "Configuration and application of the Profinet I-device function" https://support.industry.siemens.com/cs/ww/en/view/109478798 Section 2.3 discusses different functions used to signal and diagnose faults in the cmmunication with an I-device. Note that OBs are called by the Operating System of the CPU when it detects a specific type of error, OB 122 will not be called on a rack failure fault for example. Get_error and Get_diag are called within the user program so you must first determine that a fault has occured... Hope this helps, Daniel Chartier |
This contribution was helpful to
1 thankful Users |
Follow us on