IO-Link Master with AS-Interface Interface StandardLine 4 Ports IP 65 / IP 66 / IP 67
30
Command ID
0x0B
"Read Parameter" command
Target ID
0x02
IO-Link port X02
Data Length
0x03
Index (2 bytes) + sub-index (1 byte)
Index (MSB)
0x3A
Index (LSB)
0x98
Sub-index
0x00
>
Basic AS-i slave passes "Read Parameter" command request to IO-Link master.
>
IO-Link master executes command.
>
IO-Link master saves 1. Segment of the parameter value in "Read Parameter" command response.
2 Verify the availability of the IO-Link command response
►
Read the status information of the basic AS-i slave.
►
If [CMD Resp] == 0: IO-Link command response not available; Repeat step 2.
►
If [CMD Resp] == 1: IO-Link command response available; continue with step 3
3 Read parameter value (first segment)
►
Send AS-i command "Read Parameter String (S-7.4)" to basic AS-i slave.
►
Data range of the command request:
→
step 1 (bytes 0...6)
>
Data range of the command response contains "Read Parameter" command response (first segment):
Parameter
Value
Note
Block Counter
0x00...0xFF
cons. number
Block-ID
0x01
first segment; follow further segments
Response Data Length
0x96
150 bytes to return data
Command Status
0x01
Execution OK (
→
error codes)
Response Data[0...149]
per byte:
0x00...0xFF
Parameter value (bytes 0...149)
>
After the read command is finished, the IO-Link master sets the bit [CMD Resp] = 0.
>
IO-Link master saves the second segment of the parameter value in "Read Parameter" command response.
4 Verify the availability of the IO-Link command response
►
Read status information of the basic AS-i slave (
→
step 2)
►
If bit [CMD Resp] == 0: IO-Link command response not available; Repeat step 4.
►
If bit [CMD Resp] == 1: IO-Link command response available; continue with step 5
5 Read parameter value (first Segment)
►
Send AS-i command "Read Parameter String (S-7.4)" to basic AS-i slave.
►
Data range of the command request:
→
Step 1 (bytes 0...6)
>
Data range of the command response contains "Read Parameter" command response (second segment):
Parameter
value
Note
Block Counter
0x00...0xFF
cons. number
Block-ID
0xFF
last segment
Response Data Length
0x16
172 bytes to return data
Command Status
0x01
Execution OK (
→
error codes)
Response Data[150...172]
per byte:
0x00...0xFF
Parameter value (bytes 150...172)
>
After the read command is finished, the IO-Link master sets the bit [CMD Resp] = 0.