PROFIBUS DP
7.1 CPU 41x–H as PROFIBUS DP master
S7-400H
System Manual, 03/2012, A5E00267695-11
93
Diagnostics addresses in connection with DP slave functionality
Assign the diagnostics addresses for PROFIBUS DP at the CPU 41xH. Verify in the
configuration that the DP diagnostics addresses are assigned once to the DP master and
once to the DP slave.
6&38DV'3PDVWHU '3VODYH
352),%86
6SHFLI\GLDJQRVWLFDGGUHVVHVLQWKHFRQILJXUDWLRQ
'LDJQRVWLFDGGUHVV
'LDJQRVWLFDGGUHVV
'XULQJFRQILJXUDWLRQRIWKH'3PDVWHUVSHFLI\
DGLDJQRVWLFDGGUHVVIRUWKH'3VODYHLQWKH
DVVRFLDWHGSURMHFWRIWKH'3PDVWHU7KLV
GLDJQRVWLFDGGUHVVLVLGHQWLILHGDVDVVLJQHGWR
WKH'3PDVWHUEHORZ
7KLVGLDJQRVWLFDGGUHVVLVXVHGE\WKH'3
PDVWHUWRREWDLQLQIRUPDWLRQDERXWWKHVWDWXV
RIWKH'3VODYHRUDERXWEXVLQWHUUXSWLRQV
6HHDOVRWDEOHEHORZ
'XULQJFRQILJXUDWLRQRIWKH'3VODYHDOVR
VSHFLI\DGLDJQRVWLFDGGUHVVWKDWLVDVVLJQHG
WRWKH'3VODYHLQWKHDVVRFLDWHGSURMHFWRI
WKH'3VODYH7KLVGLDJQRVWLFDGGUHVVLV
LGHQWLILHGDVDVVLJQHGWRWKH'3VODYHEHORZ
7KLVGLDJQRVWLFDGGUHVVLVXVHGE\WKH'3
VODYHWRREWDLQLQIRUPDWLRQDERXWWKHVWDWXVRI
WKH'3PDVWHURUDERXWEXVLQWHUUXSWLRQV
Figure 7-2 Diagnostics addresses for DP master and DP slave
Event detection
The following table shows how the CPU 41xH in DP master mode detects operating state
changes on a DP slave or interruptions of the data transfer.
Table 7- 4 Event detection of the CPU 41xH as a DP master
Event What happens in the DP master
Bus interruption due to short-circuit or
disconnection of the connector
OB 86 is called with the message Station failure as an incoming event;
diagnostics address of the DP slave assigned to the DP master
With I/O access: Call of OB 122, I/O area access error
DP slave: RUN → STOP
OB 82 is called with the message Module error as incoming event; diagnostic
address of the DP slave assigned to the DP master; variable
OB82_MDL_STOP=1
DP slave: STOP → RUN
OB 82 is called with the message Module OK as incoming event; diagnostic
address of the DP slave assigned to the DP master; variable
OB82_MDL_STOP=0