Skip to content

An example for a Modbus TCP server written in Python with pyModbusTCP

Notifications You must be signed in to change notification settings

Johannes4Linux/Simple-ModbusTCP-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

General

This is the file I have used for my video about creating a Modbus TCP server in Python. Here is the link to my video.

Content

The file Simple_ModbusServer.py contains the code for a simple Modbus Server with the following register description:

Holding Register Addr. Description
0 Server writes a random value to it every 500 ms
1 Server monitors this register for changes. If the value is changed by the client, the server will print out the new value

Dependencies

To run the script, you need to have pyModbusTCP installed on your machine. To install it, you can use:

sudo pip install pyModbusTCP

About

An example for a Modbus TCP server written in Python with pyModbusTCP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages