49
ifm
Operating Instructions IO-Link Master with EtherNet/IP interface StandardLine 8 Ports IP 65 / IP 67 (AL1122)
2017-05-31
Configuration
>
8.6.3
Execute acyclic commands
22633
The AL1122 offers the following options to execute acyclic commands:
>
Command channels in cyclic process data
16384
Within the cyclic input and output data, special areas are available for the acyclic data transmission.
Both read and write access can be implemented via the areas.
>
Principle of the command channels
9002
A cyclic command consists of a request and a response. The command request is transmitted in the
Output Assembly. The command response of the IO-Link master is transmitted in the Input Assembly.
The following table shows the general process of an acyclic communication via the acyclic command
channel.
Step
Output assembly
Input assembly
1
► [Trigger] = 0
>
The data in the request area is invalid.
--
2
► Write the data of the request area:
- Port (bytes 4 and 5)
- Index (bytes 6 and 7)
- Sub-index (bytes 8 and 9)
- Command (byte 10)
- Data (11...43)
--
3
► [Trigger] = 1
>
Command is transmitted
>
[Handshake] = 0
4
--
► Read [Handshake].
If [Handshake] = 0x0:
>
The data in the response area is invalid.
► Continue with step 4
If [Handshake] = 0x1:
>
The data in the response area is valid.
► Continue with step 5
5
--
► Read [Result] byte (byte 11)
If [Result] = 0x00
>
Command has been processed without errors
If [Result] = 0x01:
>
An error occurred during the processing of the
command.
► Read diagnostic codes (byte 13)
► Eliminate the error and repeat the execution of the
command