Call Parameters For Sfc 59 "Rd_Rec - Siemens Simatic 6ES7 157-0AD81-0 A0 Series Manual

Dp/pa link and y link bus couplings
Table of Contents

Advertisement

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
IOID
LADDR
RECNUM
The error information that may be found in the RET_VAL return value are listed in
Table 8-5.
DP/PA Link and Y Link Bus Couplings
A5E00193841-01 1
Diagnostics Using the User Program
Value, meaning
B#16#54 (I/O input PE)
Diagnostic address of the IM 157 from the HW Config
Node number of the slave whose diagnosis is to be read
10-17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents