X20 system modules • Other functions • X20DS438A
2304
X20 system User's Manual 3.10
4.26.5.9.13.2 IO-Link information for the FlatStream
To be able to use IO-Link communication via FlatStream, you must define an individual array in the application.
The following must be defined for the query in the direction CPU → Module → IO-Link device:
•
Module's channel number
•
Frame number for the query
•
Type of query
•
The corresponding IO-Link data must then be attached depending on the query.
The response consists of the following parts:
•
The frame number, access type and type of query are repeated.
•
The module generates the error bit and manages the confirmation bit.
•
The successfully received IO-Link information or corresponding error code is then appended.
Module-specific FlatStream array for IO-Link communication
Bytes
Name
Value
Description
1
Channel number
1 to 4
2
Frame number
0 to 255
This number is repeated in the module's response. This allows
the later response from the module to be distinctly attributed to
the request.
3
x
...
Depends on byte 3
Byte 3
Bit
Description
Value
Information
0
1
Access to inputs' process data
2
Access to outputs' process data
3
4
5
6
0 - 2
Type of query
7
Announcement of automatically forwarded event
3 - 4
Reserved
-
0
Message without query
5
Confirm
1
Response to query
1)
0
No error
6
Status bit (for response frame)
1
0
Read
7
Access types
1
Write
1)
This confirmation bit is additionally set with the response to a query. The response for confirming a query frequently contains additional data that must be
processed.