Evaluating Diagnostic Data In Ob 82 - Siemens SIMATIC SM 335 Manual

High-speed analog input/output module for the simatic s7-300
Hide thumbs Also See for SIMATIC SM 335:
Table of Contents

Advertisement

Detecting and Correcting Faults
6.3

Evaluating diagnostic data in OB 82

Method
There are several easy ways to acquire the diagnostic data.
In principle, the procedure is as follows:
1. The SM 335 detects a problem, and generates a diagnostic interrupt on the
CPU.
2. The CPU fetches several items of diagnostic data from the SM 335.
3. The CPU calls OB 82 (diagnostic interrupt).
The OB 82 local data contain information about the problem at hand. In addition,
the local data provide the module address of the module, which is the subject of
the diagnostics.
4. Using the information provided in the OB 82 local data, call system function 59.
5. You can read out data record DR1 using system function 59 "RD_REC" (read
record), and also receive the channel-specific diagnostics information (see also
Subsection 3.4.2)
Once you have these data, you can respond accordingly in your program.
6-6
SM 335 – High-Speed Analog Input/Output Module for the SIMATIC S7-300
6ES7 335-7HG00-8BA1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents