Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 1.09 KB

README.md

File metadata and controls

24 lines (14 loc) · 1.09 KB

ModBus Library

  • Modbas is one of the safest 🔒 and most popular 👨‍👩‍👦 industrial protocols 🛠. This protocol has two modes of slave and master. In Modbas, access to memory cells ⬜ is possible through the address of the registry

  • Master: In this mode, the other slaves are summoned and sent orders. The summoned slave reacts to the command when it receives it, thus forming a connection between several devices. Slaves each have a parameter to identify called a slaveID.

Functions :

ModBus(SerialPort Ser) {...}

bool WriteRegister_Request(byte SlaveId, int StartAddress, int[] Data) {...}

List<int> ReadRegister_Request(byte SlaveId, int StartAddress, int Count) {...}

Example of a project done with this library :

In this project, a program written under Windows connects to an industrial device and displays sensors on several charts for analysis.