
Operating instructions IO-Link Master IOLG2PN-03208R01 – PROFINET
Diagnostics
32
© SICK AG • Presence Detection • Subject to change without notice • 8018665.10RD
7.2
BlockHeader
The “BlockHeader” is the first part of the diagnostic and is 24 bytes long.
Designation
Byte
Description
Possible values
Description
Block Type
0 – 1
2 bytes, Data type definition
0x0002
Alarm Notification Low
Block Length
2 – 3
2 bytes of data, which describe the
length of the following diagnostic
message. For the complete diag-
nostic message add the 2 bytes
from “Block type” and the 2 bytes
from “Block length”.
–
–
Block Version High
4
1 byte, preset to 0x01
–
–
Block Version Low
5
1 byte, preset to 0x00
–
–
Alarm Type
6 – 7
2 bytes, here is the information on
which “Alarm type” it is
0x0001
Diagnostics
API
8 – 11 4 bytes, Default = 0
0x00000000
Default value
Slot
12 –
13
2 bytes, describes which slot of the
module reports an error.
0x0001
Slot 1
Subslot
14 –
15
2 bytes, describes which subslot of
the slot reports an error
0x0001
Subslot 1
Module ID
16 –
19
4 bytes, describes which mod-
ule is inserted in the respective
slot. “Module ID” is stored in the
GSDML.
0x00000017
IOLG2PN-03208R01
(header module)
Submodule ID
20 –
23
4 bytes, describes which submod-
ule is used with the respective
module. “Submodule ID” is stored
in the GSDML.
0x00000001
IOLG2PN-03208R01
(header module)
Table 17: BlockHeader
7.3
AlarmSpecifier
The “AlarmSpecifier” contains 2 bytes (24 and 25), which are made up as
follows:
Designation
Bit
Description
Possible values
Description
Sequence Number
0 – 10 This counter is incremented with
every new diagnostic message.
–
–
Channel Diagnostic
11
Channel specific diagnostics
0x00
No channel specific diagnostics
present
0x01
Channel specific diagnostics
present
Manufacturer
Specific Diagnosis
12
Manufacturer specific diagnosis
0x00
No manufacturer specific diag-
nostics present
0x01
Manufacturer specific diagnostics
present