Diagnostic Interrupt - Siemens Simatic S7-300 CP 341 User Manual

Point-to-point communication, installation and parameter assignment
Table of Contents

Advertisement

8.1.5

Diagnostic Interrupt

The CP 341 can trigger a diagnostics alarm on the assigned CPU, thus indicating a
malfunction of the CP 341. You can specify at parameterization whether the CP 341 is to
trigger a diagnostics alarm or not in the event of serious errors.
"Diagnostics alarm = NO" is the default.
Diagnostic interrupt
In the event of a fault the CP 341 provides diagnostic information on the S7–300 backplane
bus. In response to a diagnostic interrupt, the CPU reads the system-specific diagnostic data
and enters it in its diagnostic buffer. You can read the contents of the diagnostic buffer on
the CPU using a programming device.
When a diagnostics event occurs, the SF LED (red) lights up. In addition, the OB 82 is called
with this diagnostic data as start information.
Organization block OB 82
You have the option of programming error responses in the user program in the OB 82.
If no OB 82 is programmed, the CPU automatically enters STOP mode in the event of a
diagnostic interrupt.
Diagnostic information (as bit pattern) diagnostic information
The CP 341 provides 4 bytes of diagnostics information. To display the error that has
occurred, these 4 bytes are occupied as follows:
2nd Byte:
The 2nd byte of diagnostic data contains the class ID of the CP 341 in bits 0 to 3.
2nd Byte
7
6
0
0
CP 341 Point-to-Point Communication, Installation and Parameter Assignment
Manual, 09/2008, A5E02191071-01
www.gkbpx.com
5
4
0
0
8.1 Diagnostics Functions of the CP 341
3
2
1
1
该文档是极速PDF编辑器生成,
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/
Diagnostics with the CP 341
1
0
0
0
203

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents