765-1205/100-000
Diagnostics
106
Product manual | Version: 2.0.0
8DIO FLD EC DC 24V 2.0A
11.2.1.7 Subindexes 6–69: Diagnosis Message (Write-Protected)
Depending on subindex 1, the EtherCAT slave can store up to 64 diagnostic messages.
In the process, the first message is stored in subindex 6, the second in subindex 7 etc.
When the buffer is full, the EtherCAT slave overwrites subindex 6 etc., so the last diag-
nostic messages are accessible to the EtherCAT master. The exact number of them is in-
dicated by subindex 1.
11.2.1.8 Structure of a Diagnostic Message
A diagnostic message in subindexes 6 to 69 has the following structure:
Table 74: Structure of a Diagnostic Message in Subindexes 6 to 69:
Parame-
ter
Data
Type
Description
Diag
Code
UINT32
Diagnostic code for identifying the diagnostic message
Bits 0–15 =
0x0000-0xDFFF
Not used
Bits 0–15 =
0xE000-0xE7FF
Bits 16–31: can be used according to the manufacturer’s
specifications
Bits 0–15 = 0xE800
Bits 16–31: emergency error code
Bits 0–15 =
0xE801-0xEDFF
Reserved
Bits 0–15 =
0xEE00-0xEFFF
Bits 16–31: profile-specific
Bits 0–15 =
0xF000-0xFFFF
Not used
Flags
UINT16
Bits 0–3
Diagnostic type
0: info message
1: warning
2: error message
3–15: reserved
Bit 4
Local timestamp
The global timestamp can be calculated from this value by
reading the current timestamp (object 0x10F8) and calculat-
ing the age of the message
Bits 5–7
Reserved
Bits 8–15
Number of parameters in this diagnostic message
Text ID
UINT16
Text ID as a reference to the diagnostic text as described in the ESI file
0
No Text ID
1–65535
Text ID reference to the ESI file
Time-
stamp
UINT64
Local timestamp in nanoseconds (corresponds to 0x10F8)
0
No Timestamp
!= 0
Timestamp
Parame-
ter 1
Flags
UINT16
Describes the type of parameter 1
Bits 12–15 = 0
Bits 0–11 = data type index of the data type of parameter 1
0x0005: UINT8
The corresponding text parameters and formats are de-
scribed in document ETG.2000.
Parame-
ter 1
UINT8
Port number (1 ... 8)