PROFIBUS DP
7.1 CPU 41x–H as PROFIBUS DP master
S7-400H
92
System Manual, 03/2012, A5E00267695-11
DP master
Block or tab in STEP 7
Application
See ...
SFC 51 "RDSYSST"
Readout of system status lists (SSL). Call
SFC 51 in the diagnostic interrupt using the
SSL ID W#16#00B3 and read out the SSL of
the slave CPU.
SFB 52 "RDREC"
Reading data records of S7 diagnostics, i.e.
saving them to the data area of the user
program
SFB 54 "RALRM"
Readout of interrupt information within the
associated interrupt OB
Evaluating diagnostics data in the user program
The figure below shows how to evaluate the diagnostics data in the user program.
&38[+
'LDJQRVWLFVHYHQW
2%LVFDOOHG
5HDG2%B0'/B$''5DQG
2%B,2B)/$* ,2PRGXOH
LGHQWLILHU
(QWHUELWRIWKH2%B,2B)/$*
DVELWLQ2%B0'/B$''5
5HVXOW'LDJQRVWLFVDGGUHVV
2%B0'/B$''5
)RUWKHGLDJQRVLVRIWKHDIIHFWHG
FRPSRQHQW&DOO6)%LQ'39
HQYLURQPHQW
'LDJQRVWLFGDWDDUHHQWHUHGLQ
SDUDPHWHUV7,1)2DQG$,1)2
&DOO6)&&DOO6)&
,QSDUDPHWHU/$''5HQWHUGLDJQRVWLFV
DGGUHVV2%B0'/B$''5
02'( VHW
)RUWKHGLDJQRVLVRIWKHDIIHFWHGPRGXOHV&DOO
6)&
,QSDUDPHWHU,1'(;HQWHUGLDJQRVWLFVDGGUHVV
2%B0'/B$''5,QSDUDPHWHU66/B,'
HQWHU,':% GLDJQRVWLFVGDWDRID
PRGXOH
Figure 7-1
Diagnostics with CPU 41xH