Diagnostics
11-12
FM 351 Positioning Module
C79000-G7076-C351-02
The FM 351 detects an error (“entering state”)
A diagnostic interrupt is “entering state” if at least one error is pending. If only
some of the errors are eliminated, the remaining pending errors are signaled again
as “entering state”.
Sequence:
1. The FM 351 detects one or more errors and initiates a diagnostic interrupt. The
“SF” LED is lit and the LEDs “CH1” / “CH2” LEDs are lit depending on the error.
The error is entered in the diagnostic buffer.
2. The CPU operating system calls OB 82.
3. You can evaluate the start information of OB82.
4. With the OB82_MOD_ADDR parameter, you can see which module triggered
the interrupt.
5. You can obtain further information by calling FC ABS_DIAG.
The FM 351 detects that an error state is cleared (“leaving state”)
A diagnostic interrupt is then only “leaving state” if the last error on the module has
been rectified.
Sequence:
1. The FM 351 detects that all errors have been rectified and initiates a diagnostic
interrupt. The “SF” LED is no longer lit. The diagnostic buffer is not modified.
2. The CPU operating system calls OB 82.
3. With the OB82_MOD_ADDR parameter, you can see which module triggered
the interrupt.
4. Evaluate the OB82_MDL_DEFECT bit.
If this bit is “0”, then there are no errors on the module. Your evaluation can
stop here.
Diagnostic Interrupts Depending on the CPU Status
• In the CPU STOP state the diagnostic interrupts from the FM 351 are disabled.
• If not all of the pending errors are eliminated while the CPU is in the STOP
mode, the FM 351 signals the errors that have not yet been eliminated as
“entering state” again when the CPU changes to RUN.
• If all errors have been rectified in the CPU STOP state, then the error-free FM
351 state is not signaled with a diagnostic interrupt after the transition to the
RUN state.