![SEW-Eurodrive DHR41B Manual Download Page 75](http://html.mh-extra.com/html/sew-eurodrive/dhr41b/dhr41b_manual_1250086075.webp)
Manual – MOVI-PLC® advanced DHR41B for EtherNet/IP, Modbus/TCP and PROFINET IO
75
8
Parameter access via Modbus/TCP
The Modbus Protocol (Modbus/TCP)
8.4
Parameter access via Modbus/TCP
A parameter access via the MOVILINK
®
parameter channel in registers 200
hex
203
hex
via Modbus/TCP requires the services FC3, FC16 or FC23 (write and read access).
Write access is used for storing acyclic requests in the corresponding registers. Read
services read the responses from the same registers.
This method corresponds to the alternative concept according to the Modbus specifica-
tions (appendix A) 'Network Messaging Specification for the MODBUS/TCP Protocol:
Version 1.1".
8.4.1
Procedure with FC16 and FC3
The respective error code is generated if a write access is incorrect (see section 'Error
codes (exception codes)'). In this way, the write services are already processed by
sending a
Write request
(FC16), and the service confirmation can be carried out by eval-
uating the
Write response
. Later on, the master will send a
Read Request
(FC03) in or-
der to read out the values that have now been written into the register.
8.4.2
Procedure with FC23
With FC23, the result is returned directly in the response.
64072AEN
Master /
Modbus client
Slave /
Modbus server
FC16 Request with
acyclical command
FC3 Request to
read acyclical result
FC16 Response,
write access o.k.
FC3 Response with
acyclical result
64073AEN
Master /
Modbus client
Slave /
Modbus server
FC23 Request with
acyclical command
FC3 Response with
acyclical result
0
0
I
Summary of Contents for DHR41B
Page 2: ...SEW EURODRIVE Driving the world ...
Page 129: ...SEW EURODRIVE Driving the world ...