anthonyolazabal/modbus-production-line-emulator

By anthonyolazabal

Updated over 1 year ago

Container with Modbus TCP server to test HiveMQ Edge protocol adapter for Modbus TCP.

Image

30

Modbus Simulation Server

This is an Modbus simulation server written in Python, which sends out values from a real data set when it gets started.

Port exposed : TCP 502

Sensor Data

When executed, the Modbus server provides values to the connected clients (infinite loop) with the following registery :

Conveyor_1
  • 0 --> speed
  • 1 --> motor_1_power
  • 2 --> count_60s
Tank
  • 3 --> temperature
  • 4 --> pressure
  • 5 --> level
Pump 1
  • 6 --> speed
  • 7 --> power
  • 8 --> pressure
  • 9 --> state
Conveyor_2
  • 10 --> speed
  • 11 --> motor_1_power
  • 12 --> count_60s

Data Samples

Fake data are coming from https://www.kaggle.com/datasets.

Docker Pull Command

docker pull anthonyolazabal/modbus-production-line-emulator