IO-Link Master with AS-Interface Interface StandardLine 4 Ports IP 65 / IP 66 / IP 67
23
>
Procedure: Sending acyclic command to the IO-Link master
51974
The following figure shows the chronological sequence of an acyclic IO-Link command by means of
the AS-i commands:
0
0
1
1
Write Parameter
String S-7.4
Read Parameter
String S-7.4
CMD Req Valid
CMD Resp
General process:
1 Send command request
►
Send the IO-Link command request to the basic AS-i slave using the command "Write Parameter String (S-7.4)".
>
The basic AS-i slave passes the IO-Link command request to the IO-Link master.
>
IO-Link master executes command.
>
The IO-Link master provides the IO-Link command response.
2 Verify the validity of the command request
►
Read the cyclic input data of the basic AS-i slave
or
Read the status information of the basic AS-i slave using the AS-i command "Read Diagnosis (S-7.4)"
►
Verify the bit [CMD Req Valid] (
→
Mapping: Status information
(
→
>
If [CMD Req Valid] == 0:
Command request invalid; verify and repeat step 1
>
If [CMD Req Valid] == 1:
Command request valid; continue with step 3
3 Verify the availability of the command response
►
Read the cyclic input data of the basic AS-i slave
or
Read the status information of the basic AS-i slave using the AS-i command "Read Diagnosis (S-7.4)"
►
Verify the bit [CMD Resp] (
→
Mapping: Status information
(
→
>
If [CMD Resp] == 0:
Command response not available; Repeat step 3
>
If [CMD Resp] == 1:
Command response available; continue with step 4
4 Read command response
►
Request the IO-Link command response of the basic AS-i slave using the AS-i command "Read Parameter String
(S-7.4)".
>
The AS-i slave sends the command response to the AS-i master.
>
After the AS-i command "Read Parameter String (S-7.4)" has been executed, the bit [CMD Resp] = 0 is set
►
Verify the status of the command.
►
Optional: Read requested data.