Diagnostic Fundamentals In Operations With An S7/M7 Dp Master; Parameters For Sfc 13 "Dpnrm_Dg; Step 7) Or With Another Profibus-Dp Master - Siemens SIMATIC Distributed I/O System DP/ASi Link Manual

Table of Contents

Advertisement

8.2.2

Diagnostic Fundamentals in Operations with an S7/M7 DP Master

(STEP 7) or with Another PROFIBUS-DP Master

Diagnosis with
If you are operating the DP/ASi link as a DP slave with a SIMATIC S7/M7
S7/M7 DP Master
DP master, the DP/ASi link behaves like a central S7-300 I/O module.
SFC 13
You read out the diagnosis (data records 0 and 1) using SFC 13
"DPNRM_DG"
"DPNRM_DG". You will find information on requesting diagnostic data in
the STEP 7 Standard and System Functions manual.
Table 8-5

Parameters for SFC 13 "DPNRM_DG"

Parameter
Declaration
Data Type
REC
INPUT
LADDR
INPUT
RET_VAL
OUTPUT
RECORD
OUTPUT
BUSY
OUTPUT
Diagnosing with
If you operate the DP/ASi link as a DP slave with a DP master from Siemens
other PROFIBUS-
that is not part of the SIMATIC S5/S7/M7 PLCs or with a DP master from
DP masters
another manufacturer, please refer to the documentation for the DP master
concerned for the way in which the slave diagnosis is requested.
Diagnostic inter-
The DP/ASi link supports diagnostic interrupts.
rupts
You can evaluate these interrupts using an S7/M7 DP master. Should an inter-
rupt occur, interrupt OBs are processed automatically by the CPU (refer to
the System Software for S7-300 and S7-400, Program Design programming
manual).
Distributed I/O System DP/ASi Link
EWA 4NEB 710 6055-02b
Memory Area
BOOL
I, O, M, D, L, Const.
WORD
I, O, M, D, L, Const.
INT
I, O, M, D, L
ANY
I, O, M, D, L
BOOL
I, O, M, D, L
Diagnostics and Error Handling
Description
REQ = 1: Read request
Configured diagnostic address from I area of
DP/ASi link.
If an error occurs while the function is being
processed, the return value contains an error
code. If an error does not occur, the length of
the data actually transferred is located in
RET_VAL.
Destination area for diagnostic data after being
read. Only data type BYTE is allowed.
BUSY = 1: Read process continuing.
8-9

Advertisement

Table of Contents
loading

Table of Contents