68 Diagnostics
WAGO-I/O-SYSTEM
750
750-657 IO-Link Master
Manual
Version 1.0.2, valid from FW/HW-Version 02/01
10.2
Diagnosis via the Mailbox
In addition to configuration and parameterization, the Mailbox is also used for the
diagnosis.
If not disabled, diagnoses of the attached IO-Link devices and those of the I/O
modules are transferred via the "IOL_DIAG" diagnostic service (see the following
section) of the Mailbox to the control. The WAGO-I/O-
PRO
library
"WagoLib_IO_Link.lib" provides the required function blocks to process the
diagnostic messages.
10.2.1
Diagnostic Telegram
The basic structure of the diagnostic telegram is determined by the function
profile for IO-Link, which is defined for PROFIBUS in "IO-Link Integration
Part1-2812". A diagnosis is transferred via the Mailbox using the "IOL_DIAG"
diagnostic service.
For diagnostic purposes, the IO-Link master provides FIFO memory for 40
diagnostic messages. An FIFO is a buffer, in which the first element in the queue
(First In) is also processed first (First Out). If the memory is filled with one or
more diagnostic telegrams, diagnostic telegrams are sent as until the FIFO is
empty. Confirmation from the control is not required. Upon overflow, the I/O
module discards incoming diagnostic telegrams.
The diagnostic telegram from the IO-Link master to the control is structured as
follows:
Table 31: Diagnostic telegram
Byte
0
1
2 3
4
5
Content
Serv
ice ID
Sequence
ID
Eve
nt Code
Channel Number
Ev
en
t Qu
alifier