Operation Index 10F3 hex Diagnosis History Structure of the diagnostic messages DiagCode (4 bytes) – in this case always 0x 0000 E000 Flags (2 bytes) - diagnosis type (info, warning or error), timestamp and number of parameters contained (see the following table) Text ID (2 bytes) – ID of the diagnostic message as a reference to the message text from the ESI/XML Timestamp (8 bytes) – local slave time in ns since switching on the TwinSAFE device dynamic parameters (16 bytes) – parameters that can be inserted in the message text (see following table) Flags in diagnostic messages Dynamic parameters in the diagnostic messages EK1960 128 Version:
2.1.0 Index (hex) Name Meaning Data type Flags Default 10F3:0 Diagnosis History 10F3:01 Maximum Messages Maximum number of stored messages. A maximum of 64 messages can be stored. After that the respective oldest messages are overwritten. UINT8 RO 0x40 (64 ) dec 10F3:02 Newest Message Subindex of the latest message UINT8 RO 0x00 (0 ) dec 10F3:03 Newest Acknowledged Message Subindex of the last confirmed message UINT8 RW 0x00 (0 ) dec 10F3:04 New Messages Available Indicates that a new message is available BOOLEAN RO 0x00 (0 ) dec 10F3:05 Flags Set via the startup list.
If set to 0x0001, the diagnostic messages are additionally sent by emergency to the EtherCAT master UINT16 RW 0x0000 (0 ) dec 10F3:06 Diagnosis Message 001 Diagnostic message 1 BYTE[32] RO {0} ... ... ... ... ... ... 10F3:45 Diagnosis Message 064 Diagnostic message 64 BYTE[32] RO {0} Data type Offset Description UINT16 Bits 0 to 3 DiagType (value) 0 Info message 1 Warning message 2 Error message 3…15 reserved Bit 4 If the bit = 1, the timestamp contained in the message is the local timestamp of the TwinSAFE device. The age of the diagnostic message can be deduced by calculation with the current timestamp from the CoE object 0x10F8.
Bits 5 to 7 reserved Bits 8 to 15 Number of parameters in this diagnostic message Type Data type Description Flags parameter 1 UINT16 Describes the type of parameter 1 Bits 12 to 15 = 0 Bits 0 to 11 = data type of parameter 1