S7-400H in PROFIBUS DP mode
7.1 CPU 41x–H as PROFIBUS DP master
Evaluation in the user program
The table below shows you how to evaluate RUN-STOP changes of the DP slave on the DP
master. See previous table.
On the DP master
Example of diagnostic addresses:
•
Master diagnostic address = 1023
Slave diagnostic address on master system = 1022
The CPU calls OB 82 with at least the following information:
OB82_MDL_ADDR: = 1022
•
OB82_EV_CLASS: = B#16#39
•
As event entering state
OB82_MDL_DEFECT: = module fault
•
The CPU diagnostic buffer also contains this information
Your user program should also be set up to read the diagnostic
data of the DP slave using SFC 13 "DPNRM_DG".
Use SFB 54 in the DPV1 environment. This outputs the full interrupt
information.
72
On the DP slave (CPU 41x)
Example of diagnostic addresses:
•
Slave diagnostic address = 422
Master diagnostic address = irrelevant
CPU: RUN → STOP
CPU generates a DP slave diagnostic frame.
System Manual, 09/2007, A5E00267695-03
S7-400H