
Operating Instructions
Chapter
5
Flexi Soft Gateways
8012664/XB29/2013-06-11
© SICK AG • Industrial Safety Systems • Germany • All rights reserved
113
Subject to change without notice
Ethernet gateways
Diagnosis history (10F3h)
The
Diagnosis history
lists the entries in object 2003h chronologically. If the
Diagnosis
history
contains new entries that have not yet been confirmed, the
Diag
byte in the input
process image (i.e. the first byte of the EtherCAT input PDO and of the CoE object 2000h)
is set to True.
Subindex 1 of the
Diagnosis history
contains the maximum number of possible diagnosis
history entries. Subindex 2 (Newest) refers to the newest diagnosis message. Subindex 3
(Acknowledged) refers to the last message that has been confirmed or — if no messages
have been confirmed so far — to the last entry. Subindex 4 is True if Reading is required
(i.e. if Newest and Acknowledged are different).
Subindex [hex]
Content
Format
Comments
01h
Max. entry number
UNSIGNED8
02h
Newest
UNSIGNED8
= Subindex of the newest
history entry (e.g. 2Ah)
03h
Acknowledged
UNSIGNED8
= Subindex of the last
acknowledged history entry
04h
Reading required
BOOLEAN
= True, if Newest is not the
same as Acknowledged
05h
Flags
UNSIGNED16 Flags to control the sending
and storing of diagnosis
messages — the Flexi Soft
EtherCAT gateway does not
support any of the optional
options.
06h-69h
Diagnosis history entries OCTET STRING See below.
The
Diagnosis history
object is structured as a ring buffer. If subindex 69h has been
written, the next entry will start over with subindex 06h.
If the number of unconfirmed diagnosis messages reaches 100, older messages will not
be overwritten. Instead the newest diagnosis message is replaced by a buffer overflow
error message (FFFFh).
Detailed information about the structure and usage of this object can be found in the
“EtherCAT Protocol Enhancements” document by the EtherCAT Technology Group
(ETG.1020) which can be obtained via the internet on www.ethercat.org.
Each diagnosis message consists of a diagnosis code and an ASCII string containing the
message parameter set.
The diagnosis code consists of the module number and the diagnosis bit of the respective
module.
The ASCII string is “module xx +” or “module xx -”, where xx stands for the position in the
Flexi Soft system of the module that has generated the diagnosis message. Coming diag-
nosis messages are marked with a “+”, going diagnosis messages are marked with a “-”.
If a problem has been diagnosed and resolved subsequently, the object 10F3h will contain
two diagnosis messages that differ only by the trailing “+” or “-”.
The FX0-GETC does not support a time stamp for the
Diagnosis history
object. If a time
stamp is required, the reading device (e.g. the PLC) can be programmed to add the time
stamp when a diagnosis message is read.
Tab. 80: Structure of the
Diagnosis history object