EasyManua.ls Logo

IFM AL1940 - Page 59

IFM AL1940
110 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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
code
Function name / description
03 (0x03)
Read Multiple Registers
04 (0x04)
Read Input Register
06 (0x06)
Write Single Register
16 (0x10)
Write Multiple Registers
23 (0x17)
Read/Write Multiple Registers
43 (0x2B)
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.
Register area
Access
Start
address
Length
(words)
500
22
r/w
0
22
r
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.

Table of Contents