Перейти к содержимому

Power System Communications - Modbus Protocol Meter Example

Dr. David Lubkeman

0:00 / 0:00

Power System Communications - Modbus Protocol Meter Example

1 963 просмотра · 1 год назад
Dr. David Lubkeman
3,5 тыс. подписчиков
1 963 просмотра · 1 год назад
Example on use of Modbus protocol to transfer data between an electric meter server and a computer SCADA application client. Presentation begins with description of the meter and its ability to support Modbus communications. This is followed by a brief introduction to Modbus as a means of machine to machine data transfer including data object types, register addresses, function codes and client-server interaction. The example consists of a Python data monitoring and graphic display application that uses the pymodbus library to both read and write data to an electric meter. The Wireshark network protocol analyzer is utilized to visualize the Modbus TCP/IP traffic between the two devices and then demonstrate how the Modbus protocol works. The code example can be downloaded at the channel Github site: https://github.com/DavidLubkeman/Powe... Other useful links: Wireshark - https://www.wireshark.org Pymodbus library - https://pypi.org/project/pymodbus/ 0:00 Introduction 0:25 Electric Meter Description 2:38 Modbus Overview 5:32 Client-Server Interaction 7:46 Example IP Addresses 8:32 Meter Configuration 9:34 Python Meter Reading Application 11:22 Wireshark Viewing of Modbus TCP Messaging 13:54 Summary