Bytes +4 To +7 For Diagnostic And Process Interrupts - Siemens SIMATIC S7-400 Reference Manual

Automation system
Hide thumbs Also See for SIMATIC S7-400:
Table of Contents

Advertisement

Structure of a CPU 41x
As of byte x +4
The meaning of the bytes as of byte x+4 depends on byte x +1 (see Figure 1-15).
In Byte x +1, the Code Stands for:
Diagnostic Interrupt (01
The diagnostic data contain the 16 byte
status information of the CPU. Figure 1-16
shows you the assignment of the first 4 bytes
of the diagnostic data. The following 12 bytes
are always 0.
Bytes x+4 to x+7 for Diagnostic Interrupts
Figure 1-16 illustrates the structure and contents of bytes x +4 to x +7 for the
diagnostic interrupt. The contents of these bytes correspond to the contents of
data record 0 of the diagnosis in STEP 7 (in this case not all the bits are assigned).
Byte x +4
Byte x +5
Byte x +6
Byte x +7
Figure 1-16

Bytes +4 to +7 for Diagnostic and Process Interrupts

1-62
)
Process Interrupt (02
H
You can program 4 bytes of interrupt
information any way you wish for the process
interrupt. You transfer these 4 bytes to the DP
master in STEP 7 using SFC 7 "DP_PRAL".
7
0
Bit no.
0
0
0 0 0 0
0
0: Module OK.
1: Faulty module
7
4
3
0
Bit no.
0
0
0 0
0
1
1
1
Identifier for address area of the
intermediate memory (constant)
Bit no.
7
7
2
2
0
0
0
0
0
0
0
0
0
0: RUN mode
1: STOP mode
7
0
Bit no.
0
0
0 0 0 0
0 0
Automation System S7-400 CPU Specifications
)
H
A5E00165965-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents