PROFIBUS DP
5.1 CPU 41x-3 PN/DP as DP master / DP slave
S7-400 Automation System, CPU Specifications
5-10 Manual, 10/2006, 6ES7498-8AA04-8BA0
Evaluation in the User Program
The following table shows you how, for example, you can evaluate RUN-STOP transitions of
the DP slave in the DP master (see also table "Event detection of the CPUs 41x as DP
master").
Table 5-6 Evaluation of RUN-STOP transitions of the DP slave in the DP master
In the DP master In the DP slave (CPU 41x)
Diagnostic addresses: (example)
Master diagnostic address=1023
Slave diagnostic address
in the master system=1022
Diagnostic addresses: (example)
Slave diagnostic address=422
Master diagnostic address=not relevant
The CPU calls OB82 with the following
information, amongst other things:
• OB82_MDL_ADDR:=102
2
• OB82_EV_CLASS:=B#1
6#39 (incoming event)
• OB82_MDL_DEFECT:=
module malfunction
Tip: The CPU diagnostic buffer also
contains this information
You should also program the SFC
"DPNRM_DG" in the user program to read
out the DP slave diagnostic data.
Use the SFB 54 in the DPV1 environment. It
outputs the interrupt information in its
entirety.
CPU: RUN → STOP
CPU generates a DP slave diagnostic
frame.