Industry Online Support
Technical Forum
7/13/2010 8:50 AM | |
Joined: 3/21/2006 Last visit: 4/12/2023 Posts: 10221 Rating:
|
Hello, You should enable in Hardware Configuration for this module diagnostic interrupt options. Then If a module detects an error, it outputs a request for a diagnostic interrupt to the CPU (when entering and outgoing event). The operating system then calls OB82. The local variables of OB82 contain the logical base address as well as four bytes of diagnostic data of the defective module. If OB82 has not been programmed, the CPU changes to the STOP mode. You can disable or delay and re-enable the diagnostic interrupt OB using SFCs 39 to 42. (more info about OB82 at Step7 help files). Perhaps also will helps - Sample program: reading out diagnostics of a PROFIBUS DP slave in the OB 82. Best regARDS, Hristo Mihalev |
Follow us on