![SEW-Eurodrive DHR41B Скачать руководство пользователя страница 61](http://html.mh-extra.com/html/sew-eurodrive/dhr41b/dhr41b_manual_1250086061.webp)
Manual – MOVI-PLC® advanced DHR41B for EtherNet/IP, Modbus/TCP and PROFINET IO
61
7
Examples for data exchange via Modbus/TCP
Configuration and Startup (Modbus/TCP)
7.5
Examples for data exchange via Modbus/TCP
As there is a range of master systems and software solutions for standard PCs available
for Modbus/TCP, there is no 'reference controller' which is used to create all examples.
This is why this section gives detailed examples regarding the telegram structure.
You can compare the message structure in your own applications with the message
structure in these examples for troubleshooting. There are simple tools for recording
telegrams via the Ethernet network, e.g. Wireshark (see following figure), Packetizer
etc. These freeware tools are available on the Internet.
Observe that tracing all Ethernet telegrams in a network is only possible with a tab, hub
or a switch with a port mirror function. The telegrams sent from and to the PC which is
also used for recording can always be recorded, of course.
The figure above provides an example of how setpoints are written (FC16) to the
Modbus/TCP slave with IP address 10.3.71.119. The 3 process data words are located
from offset 4 (reference number) and are addressed via unit ID 255.
All the other examples merely describe the Modbus/TCP part of the telegram. The
TCP/IP part of the telegram, as well as establishing and dropping a TCP/IP connection
are not explained in detail.
12047AXX
Содержание DHR41B
Страница 2: ...SEW EURODRIVE Driving the world ...
Страница 129: ...SEW EURODRIVE Driving the world ...