Extended instructions
9.7 Diagnostics (PROFINET or PROFIBUS)
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
481
Depending on the value at the MODE parameter, different diagnostics data is output at the
DIAG, CNT_DIAG and DETAILS output parameters:
Table 9- 180 MODE parameter
0 Output of all supported diag-
nostic information for a mod-
ule as DWord, where Bit X=1
indicates that mode X is sup-
Bit string of the supported
modes as DWord, where Bit
X=1 indicates that mode X
is supported.
0 -
1 Output of the inherent status
of the addressed hardware
object.
Diagnostics status: Output
in accordance with the DIS
structure. (Note: Refer to
the "DIS structure" infor-
mation below and
GET_DIAG instruction ex-
ample at the end of the
0 -
2 Output of the status of all
subordinate modules of the
addressed hardware object.
Output of diagnostics data
in accordance with the DNN
structure. (Note: Refer to
the "DNN structure" infor-
mation below and
GET_DIAG instruction ex-
ample at the end of the
section.)
0 -