Value Description
F001h Not all slaves may be deactivated. At least 1 slave must remain activated.
F002h Unknown slave address.
14.1.11 SFC 13 - DPNRM_DG - Read diagnostic data of a DP slave
The SFC 13 DPNRM_DG (read diagnostic data of a DP slave) reads up-to-date diag-
nostic data of a DP slave. The diagnostic data of each DP slave is defined by EN 50 170
Volume 2, PROFIBUS.
Input parameter RECORD determines the target area where the data read from the slave
is saved after it has been transferred without error. The read operation is started when
input parameter REQ is set to 1.
The following table contains information about the principal structure of the slave diag-
nosis.
For additional information please refer to the manuals for the DP slaves that you are
using.
Byte Description
0 station status 1
1 station status 2
2 station status 3
3 master-station number
4 manufacturer code (high byte)
5 manufacturer code (low byte)
6 ... additional slave-specific diagnostics
The SFC 13 is executed as asynchronous SFC, i.e. it can be active for multiple SFC-
calls. Output parameters RET_VAL and BUSY indicate the status of the command.
Relationship between the call, REQ, RET_VAL and BUSY:
Seq. No. of
the call
Type of call REQ RET_VAL BUSY
1 first call 1 7001h or
Error code
1
0
2 ... (n-1) intermediate call irrelevant 7002h 1
n last call irrelevant If the command was completed without errors,
then the number of bytes returned is entered
as a positive number or the error code if an
error did occur.
0
Description
Operation
VIPA SPEED7
Integrated Standard
System Functions > SFC 13 - DPNRM_DG - Read diagnostic data of a DP slave
HB00 | OPL_SP7 | Operation list | en | 18-30 657