Siemens S7-1200 System Manual page 359

Hide thumbs Also See for S7-1200:
Table of Contents

Advertisement

Table 8- 141 Data types for the parameters
Parameter and type
MODE
IN
LADDR
IN
RET_VAL
OUT
CNT_DIAG
OUT
DIAG
InOut
DETAILS
InOut
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
0
Output of all supported
diagnostic information for a
module as DWord, where Bit
X=1 indicates that mode X is
supported.
1
Output of the inherent status
of the addressed hardware
object.
2
Output of the status of all
subordinate modules of the
addressed hardware object.
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
Data type
Description
UInt
Use the MODE parameter to select which diagnostic data is to be
output.
HW_ANY (Word)
Hardware ID of the device
Int
Status of the instruction
UInt
Number of output diagnostic details
Variant
Pointer to data area for storage of diagnostic information of the
selected mode
Variant
Pointer to data area for storage of diagnostic details in accordance
with the selected mode
DIAG
Bit string of the supported
modes as DWord, where Bit
X=1 indicates that mode X
is supported.
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.)
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.)
8.5 Diagnostics (PROFINET or PROFIBUS)
CNT_DIAG
0
0
0
Extended instructions
DETAILS
-
-
-
359

Advertisement

Table of Contents
loading

Table of Contents