EasyManua.ls Logo

SEW-Eurodrive MOVIPRO Ethernet/IP - Page 97

SEW-Eurodrive MOVIPRO Ethernet/IP
280 pages
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...
8
Configuration and startup of Modbus/TCP
Project planning examples
Manual – MOVIPRO
®
with EtherNet/IP™ or Modbus/TCP Fieldbus Interface
97
Process data exchange via Service FC23
During process data exchange via FC23, the Modbus/TCP part that is used to write
and read 3 process data words (PD) each is structured as follows:
Byte Value Meaning Interpretation Help
0
0x00 Transaction identifier
For detailed description see
Modbus/TCP specification
and chapter "Modbus
protocol (Modbus/
TCP)"(→2101).
1
2
0x00 Protocol identifier
3
4 0x00
Length field
Number of bytes after byte 5:
Value: Number of PD × 2 + 11
(In this case: 3 × 2 + 11 = 17)
5 0x11
6 0xFF Device identifier Must be 0 or 255.
7 0x10 Function code
Service: FC23 (read and write re-
gister)
8 0x00
Read reference number
Offset where PD start.
Must always be 4.
9 0x04
10 0x00
Read word count
Number PD
1)
(In this case: 3)
11 0x03
12 0x00
Write reference number
Offset where PD start:
Must always be 4.
13 0x04
14 0x00
Write word count
No. of PDs
See read word count
(In this case: 3)
15 0x03
16 0x06 Write byte count
Number PD× 2
2)
(In this case: 3 x 2= 6)
17 0x00
Data Process output data word 1
Data mapping and definition,
see chapter "Process data
description"(→2118)
18 0x11
19 0x22
Data Process output data word 2
20 0x33
21 0x44
Data Process output data word 3
22 0x55
1) for MOVIPRO® SDC (1–8) for MOVIPRO® ADC (1–120)
2) for MOVIPRO® SDC (2–16) for MOVIPRO® ADC (2–240)
16998413/EN – 12/2016

Table of Contents

Related product manuals