7HVWLQJIXQFWLRQVDQG'LDJQRVWLFV
S7-300 Automation System, Hardware and Installation: CPU 312IFM - 318-2 DP
A5E00203919-01
11-19
'HVFULSWLRQRI'3PDVWHU
FRQILJXUDWLRQ
'HVFULSWLRQRI'3VODYH
FRQILJXUDWLRQ
When configuring the DP master, define a
diagnostic address for the DP slave (in the
associated project of the DP master).
Below, this diagnostic address is labeled
$VVLJQHGWR'3PDVWHU.
The DP master receives information about
the status of the DP slave or about a bus
interruption by means of this diagnostic
address.
During configuration of the DP slave, you
also specify a diagnostic address assigned
to the DP slave (in the associated project of
the DP slave).
Below, this diagnostic address is labeled
$VVLJQHGWR'3VODYH.
This diagnostic addresses is used by the DP
slave to obtain information on the status of
the DP master or a bus interruption.
6SHFLDOIHDWXUHVRI&38'3
$SSOLHVWRWKHIROORZLQJ&38V $VRIILUPZDUHYHUVLRQ
CPU 318-2 DP >= V 3.0.0
When CPU318-2 DP act as a master in DPV1 mode, you assign two different
diagnostic addresses for an I-Slave, one diagnostic address for Slot 0 and one for
Slot 2. Both addresses have the following functions:
• The diagnostic address for slot 0 reports in the master all events relating to the
complete slave (node representative), e.g. node failure.
• The diagnostic address for slot 2 is used to report events that affect this slot.
For example, if the CPU is acting as an intelligent slave, it returns the diagnostic
interrupts for operating state transitions.
(YHQWUHFRJQLWLRQ
The table below shows how CPU 31x-2 operating as DP slave recognized
operating state transitions or data exchange interruptions.
Table 11-11 Event recognition by CPUs 31x-2 acting as the DP slave
(YHQW :KDWKDSSHQVLQWKH'3VODYH"
Bus failure interrupt (short-
circuit, connector unplugged)
• Calls OB 86 with the message 6WDWLRQIDLOXUH
(incoming event; diagnostic address of the DP slave,
assigned to the DP slave)
• with I/O access: Call of OB122 (I/O access error)
DP master: RUN → STOP • Calls OB 82 with the message 0RGXOHHUURU(incoming
event; diagnostic address of the DP slave assigned to
the DP slave; Variable OB82_MDL_STOP=1)
DP master: STOP → RUN • Call of OB82 with the message 0RGXOH2.(outgoing
event; diagnostic address of the DP slave, assigned to
the DP slave; Variable OB82_MDL_STOP=0)