Extended instructions
8.5 Diagnostics (PROFINET or PROFIBUS)
Parameter
Data type
DNN structure
With the MODE parameter = 2, the diagnostics information details are output in accordance
with the DNN structure. The following table shows the meaning of the individual parameter
values:
Table 8- 144 Structure of the Diagnostic Navigation Node (DNN)
Parameter
SubordinateState
SubordinateIOState
DNNmode
RET_VAL parameter
Table 8- 145 Error codes of the RET_VAL parameter
Error code
Description
( W#16#...)
0
No error
8080
Value in the MODE parameter is not supported.
8081
Type in the DIAG parameter is not supported with the selected mode (parameter MODE).
8082
Type in the DETAILS parameter is not supported with the selected mode (parameter MODE).
8090
LADDR does not exist.
8091
The selected channel in the CHANNEL parameter does not exist.
80C1
Insufficient resources for parallel execution
362
Value
12
13
14
15
16
17
18
19
20
Data type
Value
UINT
Enum
WORD
Bitarray
WORD
Bitarray
Description
Module defective
-
No power
CiR
In STOP / without DIS
In
Description
Status of the subordinate module (See parameter OwnState of
the DIS structure.)
Status of the inputs and outputs of the subordinate module (See
parameter IO State of the DIS structure.)
Bit 0 = 0: Diagnostics enabled
•
Bit 0 = 1: Diagnostics disabled
•
Bit 1 to 15: Reserved
•
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG