PROFIBUS DP
5.1 CPU 41x-3 PN/DP as DP master / DP slave
S7-400 Automation System, CPU Specifications
Manual, 10/2006, 6ES7498-8AA04-8BA0
5-9
Diagnostic Addresses in Connection with DP Slave Functionality
You assign diagnostic addresses for the PROFIBUS DP in the CPU 41x. Verify in your
configuration that the DP diagnostic addresses are assigned once to the DP master and
once to the DP slave.
Table 5-4 Diagnostic addresses for the DP master and DP slave
S7 CPU as DP master S7 CPU as DP slave
PROFIBUS
Specify two diagnostic addresses during configuration:
Diagnostic address Diagnostic address
During the configuration of the DP master, you
specify (in the associated project of the DP
master) a diagnostic address for the DP slave.
Below, this diagnostic address is labeled
assigned to DP master
.
By means of this diagnostic address the DP
master receives information on the status of
the DP slave or a bus interruption (see also
table "Event detection of the CPUs 41x as DP
master").
During the configuration of the DP slave, you also
specify (in the associated project of the DP slave) a
diagnostic address that is
assigned to the DP slave
.
Below, this diagnostic address is labeled assigned to
DP slave.
By means of this diagnostic address the DP slave
receives information on the status of the DP master
or a bus interruption (see also table "Event detection
of the CPUs 41x as DP slave").
Event Recognition
The following table shows you how the CPU 41x as DP master detects any changes in the
operating mode of a CPU as DP slave or interruptions in data transfer.
Table 5-5 Event detection of the CPUs 41x as DP master
Event What happens in the DP master
Bus interruption
(short-circuit,
connector removed)
• OB86 called with the message station failure (event
entering state; diagnostic address of the DP slave that is
assigned to the DP master)
• With I/O access: call of OB 122 (I/O access error)
DP slave:
RUN → STOP
• OB82 is called with the message faulty module (event
entering state; diagnostic address of the DP slave that is
assigned to the DP master; variable OB82_MDL_STOP=1)
DP slave:
STOP → RUN
• OB82 is called with the message Module OK (event exiting
state; diagnostic address of the DP slave that is assigned to
the DP master; variable OB82_MDL_STOP=0)