Skip to content

Control Modbus-RTE serial devices with Python minimalmodbus library

License

Notifications You must be signed in to change notification settings

ctch3ng/modbus_playground

Repository files navigation

ModBus Playground

Control Modbus-RTU serial devices with Python minimalmodbus library

Prerequisites

Hardware

  • Generic USB to RS485 adaptor
  • Waveshare Industrial Modbus RTU 8-ch Relay Module Link
  • DFRobot URM14 - Industrial Ultrasonic Distance Sensor Link
  • Eletechsup AMPTI04 - 4CH RS485 PT100 Temperature Collector
  • Eletechsup PTA8E16 - 16CH RS485 PT100 Temperature Collector

Software

  • Python>=3.9 - via Anaconda Link
  • MinimalModbus Link

Note: For Windows user, check your COM port settings under Device Manager. For Linux user, check your COM port settings under /dev/

08 May 2023 Updates

  • pta8e16_16ch_pt100_read_loop.py -- For reading the temperature registers (100 times) from Eletechsup PTA8E16 - 16CH RS485 PT100 Temperature Collector.

29 Apr 2023 Updates

  • ampti04_4ch_pt100_read_loop.py -- For reading the temperature registers (100 times) from Eletechsup AMPTI04 - 4CH RS485 PT100 Temperature Collector.

02 Oct 2022 Updates

  • rtu_relay_read_info.py -- For reading registers' values from Waveshare Industrial Modbus RTU 8-ch Relay Module.

  • rtu_relay_control_demo.py -- For controlling the relays on the Waveshare Industrial Modbus RTU 8-ch Relay Module.

  • urm14_read_info.py -- For reading registers' values from URM14 - Industrial Ultrasonic Distance Sensor.

  • urm14_dist_read_loop.py -- For reading the distance register (100 times) from DFRobot URM14 - Industrial Ultrasonic Distance Sensor.

Further Readings

  • URM14 Wiki Link
  • Modbus RTU Relay Wiki Link
  • Modbus - Protocol Specification and Serial Line Protocol and Implementation Guide Link

About

Control Modbus-RTE serial devices with Python minimalmodbus library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages