X20 system modules • Other functions • X20DS438A
X20 system User's Manual 3.10
2271
4.26.5.9.9.11 IoLinkVersionID
Name:
IoLinkVersionID01 to IoLinkVersionID04
This register can be used to read back the IO-Link version.
Data type
Value
Information
16 (= 0x10)
V1.0
USINT
17 (= 0x11)
V1.1
4.26.5.9.10 Event interface
IO-Link devices are able to send events that can be retrieved using cyclic data points. The events are written to a
FIFO buffer that has space for up to 16 elements. If events are not retrieved or more than 16 events take place,
then the oldest event is automatically discarded.
Sequence for reading an event
•
A new event was triggered by the device. This is indicated by an increase in EventPortSeq.
•
Event data can be read using the EventQualifier and EventCode registers.
•
The event must be acknowledged. To do so, the sequence number from EventPortSeq must be copied to
the sequence number from EventQuit.
•
The next event is specified only after the event is acknowledged.
4.26.5.9.10.1 EventPortSeq
Name:
EventPortSeq
As soon as a new event is generated by an IO-Link device, the sequence number is increased in this register. The
affected channel number is also displayed.
Data type
Value
USINT
0 to 255
Bit structure:
Bit
Description
Value
Information
0 - 3
Sequence number
0 to 15
00
IF1 (channel 1)
01
IF2 (channel 2)
10
IF3 (channel 3)
4 - 5
IO-Link channel number
11
IF4 (channel 4)
6 - 7
Reserved
0
4.26.5.9.10.2 EventQualifier
Name:
EventQualifier
This register contains additional information about the event.
Data type
Value
USINT
See bit structure.
Bit structure:
Bit
Description
Value
Information
000
Unknown
001
Hardware
010
Data exchange layer of the IO-Link device
011
Application layer of the IO-Link device
0 - 2
Instance layer generated by the event
100
Application
0
Device
3
Cause of the event
1
Master
00
Reserved
01
Information
10
Warning
4 - 5
Type of event
11
Errors
00
Reserved
01
One-time event
10
Event no longer reported (e.g. voltage OK again)
6 - 7
Mode of the event
11
Event reported (e.g. voltage too low)