765-4203/0100-0000
Diagnostics
102
Product manual | Version: 1.0.0
4PORT IOL-A FLD EC DC 24V 2.0A
11.2 Diagnostics via EtherCAT
11.2.1 Diagnostic History
Table 78: Diagnostic History (Index 0x10F3)
Subindex Name
Explanation
Type
Flags
Default
0
Highest supported
subindex
Highest supported subindex
see .
UINT8
RO
1
Maximum Messages Number of diagnostic messages that can
be stored in the diagnostic history
See .
UINT8
RO
64
2
Newest Message
Subindex of the newest logged diagnostic
message
See .
UINT8
RO
0
3
Newest Acknowl-
edged Message
Newest acknowledged message
See .
UINT8
RW
0
4
New Messages
Available
New message available
See .
BOOL
RO
0
5
Flags
Flags for controlling the sending and saving
of diagnostic messages
See .
UINT16
RW
0x0001
6–69
Diagnosis Message
Buffer for diagnostic messages
See .
OCTET_
STRING
RO
11.2.1.1 Subindex 0: Highest supported subindex
The diagnostic history can contain at most the number of diagnostic messages specified
in subindex 1: Maximum Messages. These can be retrieved starting with subindex 6.
Subindex 0 indicates the highest subindex under which a diagnostic message is stored.
11.2.1.2 Subindex 1: Maximum Messages
The diagnostic history can contain as many diagnostic messages as specified here. The
maximum value is 64.
11.2.1.3 Subindex 2: Newest Message
Using the subindex 2, you can retrieve the subindex in the diagnostic history under which
the latest diagnostic message is stored. The value should be between 6 and 69. If no di-
agnostic messages are currently stored, a value of 0 is returned.
11.2.1.4 Subindex 3: Newest Acknowledged Message
This subindex contains the subindex of the newest acknowledged diagnostic message. It
can be both read and written. In both cases, the meaning of the values depends on the
current mode. The modes are overwrite mode (subindex 5, bit 4 = 0) and acknowledge
mode (subindex 5, bit 4 = 1).
Overwrite Mode
Read = 0:
If the queue for diagnostic messages is overwritten, the EtherCAT slave sets subindex 3
to 0.