Operating Instructions
Chapter
5
IOLSHPB-P3104R01
2010-07-16
© SICK AG • Industrial Sensors • Germany • Subject to change without notice
71
Commissioning and operation
5.8.3
Example 2
Writing a string (10 bytes in length) to the device at port 4 (here “All OK” at index 67dec,
subindex 3dec):
Write request (master -> device)
Tunnel PD data (4 words VC1) hex
Data structure
14 / 00 / 04 / 00 43 / 03 / 41 6C
IO-Link master write request/device
number/port/index high index
low/subindex/2 bytes of object data
Write response (device -> master)
Tunnel PD data (4 words VC1) hex
Data structure
14 / xx xx xx xx xx xx xx
Response/7 bytes unused
Write request (master -> device)
Tunnel PD data (4 words VC1) hex
Data structure
21 / 6C 6C 73 20 69 2E 4F
1st continue fragment/7 bytes of object
data
Write response (device -> master)
Tunnel PD data (4 words VC1) hex
Data structure
21 / xx xx xx xx xx xx xx
Response/7 bytes unused
Write request (master -> device)
Tunnel PD data (4 words VC1) hex
Data structure
40 / 2E / xx xx xx xx xx xx
End fragment/1 byte of object
data/6 bytes unused
Write response (device -> master)
Tunnel PD data (4 words VC1) hex
Data structure
84 / 00 / xx xx xx xx xx xx
Response/status/6 bytes unused
Clear request (master -> device)
Tunnel PD data (4 words VC1) hex
Data structure
00 / 00 00 00 00 00 00 00
Response/status/6 byte unused
Clear response (device -> master)
Tunnel PD data (4 words VC1) hex
Data structure
00 / 00 00 00 00 00 00 00
Clear response
Here, the write specification is done in 3 fragments. The IO-Link master only accepts the
request once the last fragment has been received. The response “84” indicates that
command “04” was executed. The status “0” indicates that transmission was successful.
The communication data can be reset to the initial state via “Clear”.