-
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.
ModBus(SerialPort Ser) {...}
bool WriteRegister_Request(byte SlaveId, int StartAddress, int[] Data) {...}
List<int> ReadRegister_Request(byte SlaveId, int StartAddress, int Count) {...}
In this project, a program written under Windows connects to an industrial device and displays sensors on several charts for analysis.