EasyManua.ls Logo

Siemens S7-1200 - Page 359

Siemens S7-1200
1028 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Extended instructions
8.5 Diagnostics (PROFINET or PROFIBUS)
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
359
Table 8- 141 Data types for the parameters
Parameter and type
Data type
Description
MODE IN UInt Use the MODE parameter to select which diagnostic data is to be
output.
LADDR
IN
HW_ANY (Word)
Hardware ID of the device
RET_VAL
OUT
Int
Status of the instruction
CNT_DIAG
OUT
UInt
Number of output diagnostic details
DIAG InOut Variant Pointer to data area for storage of diagnostic information of the
selected mode
DETAILS InOut Variant Pointer to data area for storage of diagnostic details in accordance
with the selected mode
MODE parameter
Depending on the value at the MODE parameter, different diagnostics data is output at the
DIAG, CNT_DIAG and DETAILS output parameters:
Table 8- 142 MODE parameter
MODE
Description
DIAG
CNT_DIAG
DETAILS
0 Output of all supported
diagnostic information for a
module as DWord, where Bit
X=1 indicates that mode X is
supported.
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"
information below and
GET_DIAG instruction
example at the end of the
section.)
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"
information below and
GET_DIAG instruction
example at the end of the
section.)
0 -

Table of Contents

Other manuals for Siemens S7-1200

Related product manuals