Diagnostics Using the User Program
10-17
DP/PA Link and Y Link Bus Couplings
A5E00193841-011
Interrupt routing
If an interrupt-capable DPV1 slave initiates an interrupt on the underlying master
system, the interrupt is passed on to the higher level DP master system by the
IM 157.
The interrupt header and additional interrupt information of the slave are stored in
the interrupt section of the IM 157. With the exception of slot number and
sequence number, this information remains unchanged.
10.3
Reading out the diagnosis from the underlying slaves
The diagnostic data of underlying slaves capable of diagnostics that is buffered in
the IM 157 can be read out via the SFC 59 ”RD_REC”.
Prerequisites
The link must be operated on a DPV1 master.
Parameters for SFC 59 ”RD_REC”
The table below shows the required values for the call parameters of the SFC 59
”RD_REC”.
Table 10-9 Call parameters for SFC 59 ”RD_REC”
Parameters
Value, meaning
IOID
B#16#54 (I/O input PE)
LADDR
Diagnostic address of the IM 157 from the HW Config
RECNUM
Node number of the slave whose diagnosis is to be read
The error information that may be found in the RET_VAL return value are listed in
Table 8-5.
Содержание Simatic 6ES7 157-0AC80-0 A0 Series
Страница 14: ...Contents xiv DP PA Link and Y Link Bus Couplings A5E00193841 01 1 ...
Страница 42: ...Installation 3 12 DP PA Link and Y Link Bus Couplings A5E00193841 01 1 ...
Страница 70: ...Commissioning the DP PA Link 6 12 DP PA Link and Y Link Bus Couplings A5E00193841 01 1 ...
Страница 162: ...Technical Specifications B 40 DP PA Link and Y Link Bus Couplings A5E00193841 01 1 ...
Страница 170: ...Order Numbers and Accessories D 4 DP PA Link and Y Link Bus Couplings A5E00193841 01 1 ...
Страница 178: ...Glossary Glossary 8 DP PA Link and Y Link Bus Couplings A5E00193841 01 1 ...
Страница 182: ...Index Index 4 DP PA Link and Y Link Bus Couplings A5E00193841 01 1 ...