59
ifm Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018
Configuration Modbus
>
Supported function codes
13676
The AL1940 supports the following function codes for read and/or write access to the Modbus register:
Function name / description
Read/Write Multiple Registers
Read Device Identification
Detailed information about the function codes: → MODBUS-TCP specification
>
Use acyclic services
11046
The AL1940 has a command interface to execute acyclic commands. A cyclic command consists of a
request and a response.
Command Request Channel (Fieldbus PLC >>> IO-Link Master)
Command Response Channel (IO-Link Master >>> Fieldbus PLC)
Structure of the acyclic command channel: → Acyclic Command Channel (→ p. 84)
General procedure of the acyclic communication:
1 Write Command Request
► In the request channel: Write required data (except for [User ID]).
> Write required [User ID].
> Changed [User ID] signals a new command.
> In the response channel: registers are reset to 0.
> Acyclic command channel is blocked.
> Processing of the command is started.
2 Check status
► In the response channel: Check [Command Status] register.
> If [Command Status] <> 0: continue with step 3
> If [Command Status] == 0: repeat step 2.
3 Read Command Response
► In the response channel: read returned user data.
> Acyclic command channel is released.