Skip to content

Mirhossein-Mousavi/Modbus-CSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Modbas is one of the most popular industrial protocols. You can use this library to connect computers and industrial devices such as PLC

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages