Support Portal

IO-Link - Index 37 - Detailed Device Status

what information is hidden in Index 37 (Detailed Device Status)

Table of Contents

Index 37 - Detailed Device Status

 

At least for newer sensors, the index (ISDU) 37 can be found - in addition to Index 36.

When looking into the IO-Link sheet, the following can be seen: (Example)

 

IO-Link specific
Index
dec (hex)
Name Format
(Offset)
Length Access Default Value Value / Range Remark
36 (0x24) Device Status Uint 8 Bit ro 3 0 = Device is OK
1 = Maintenance required
2 = Out of specification
3 = Functional check
4 = Failure
5...255 = Reserved
 
37 (0x25) Detailed Device Status Array 24 Byte ro   Octet String [8] Provides a chronologic list about currently pending events of type "Error" or "Warning"

 

How is the Detailed Device Status decrypted?

 

Detailed Device Status  N x 3 Byte Event Log containing last five events which occurred at the sensor. For each array element:
Octet 1: Event qualifier
Octet 2, 3: Event code
Event 1 3 Byte 0x000000 = no Event appeared
0xF45000 = Error appeared - hardware fault
0xE48CA4 = Warning appeared - QoR (Quality of Run) Alarm
0xE48CA0 = Warning appeared - short circuit
0xE48CA8 = Warning appeared - temperature high
0xE48CAB = Warning appeared - operating hours
0xE48CAF = Warning appeared - temperature low
Event 2 3 Byte
Event 3 3 Byte
Event … 3 Byte
Event N 3 Byte

 

How about Event qualifier and Event code?

 

For Index 37:

Instance = always "Application"

Source = always Device

Type = Warning or Error (no Notification)

Mode = only "Event appears"

 

Event Qualifier
Mode Type Source Instance
Bit 7 6 5 4 3 2 1 Bit 0
0 = reserved
1 = Event single shot
2 = Event disappears
3 = Event appears
0 = reserved
1 = Notification
2 = Warning
3 = Error
0 = Device
1 = Master
0 = unknown
1…3 = reserved
4 = Application
Keywords:
IO-Link, Index 37, Detailed Device Status, io link