8
Configuration and startup of Modbus/TCP
Project planning examples
Manual – MOVIPRO
®
with EtherNet/IP™ or Modbus/TCP Fieldbus Interface
99
Parameter access
Parameter channel via the MOVILINK
®
parameter channel is performed via FC23
(write and read). The job to the MOVILINK
®
service and retrieving the response is
realized in one Modbus/TCP service.
Parameter access via Service FC23
The TCP/IP telegram is structured as follows for reading a parameter:
Byte Value Meaning Interpretation Help
0
0x00 Transaction identifier
–
For detailed description see
Modbus/TCP specification
and chapter "Modbus
protocol (Modbus/
TCP)"(→2101).
1
2
0x00 Protocol identifier
3
4 0x00
Length field
Number of bytes after byte 5:
Must be equal to 19 for the
MOVILINK
®
parameter channel.
5 0x13
6 0x00 Device identifier
• Value 0 and 0xFE: Access to
parameters of communication
and control unit "PFH‑..."
• Value 20 (0x14): Forwarding
of request to the power sec-
tion "PFA-..."
7 0x17 Function code
Service=FC23 (read and write
register)
8 0x02
Read reference number
Offset from where the
MOVILINK
®
parameter channel
is located:
Must always be 512.
9 0x00
10 0x00
Read word count
Must always be 4 for the
MOVILINK
®
parameter channel.
11 0x04
12 0x02
Write reference number
Offset from where the
MOVILINK
®
parameter channel
is located:
Must always be 512.
13 0x00
14 0x00
Write word count
Must always be 4 for the
MOVILINK
®
parameter channel.
15 0x04
16 0x08 Write byte count
8 byte MOVILINK
®
parameter
channel
17 0x31
Data:
MOVILINK
®
parameter chan-
nel
Management bytes: 0x31 = read
Data mapping and definition,
see profile of
SEW‑EURODRIVE devices
and chapter "Process data
description"(→2118)
18 0x00
Data:
MOVILINK
®
parameter chan-
nel
Parameter subindex
19 0x20 Data:
MOVILINK
®
parameter chan-
nel
Parameter indexes:
0x206c = 8300 = firmware part
number
20 0x6C
21 0x00
Data:
MOVILINK
®
parameter chan-
nel
Parameter value that has no
meaning during read service.
22 0x00
23 0x00
24 0x00
16998413/EN – 12/2016