Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rayandrew/modbus-cpp
Modbus master and slave implementation in C++
https://github.com/rayandrew/modbus-cpp
asio cpp mit-license modbus modbus-client modbus-master modbus-server modbus-slave modbus-tcp
Last synced: about 1 month ago
JSON representation
Modbus master and slave implementation in C++
- Host: GitHub
- URL: https://github.com/rayandrew/modbus-cpp
- Owner: rayandrew
- License: mit
- Created: 2020-09-07T03:26:36.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-01T08:38:19.000Z (about 4 years ago)
- Last Synced: 2023-03-06T15:28:03.034Z (almost 2 years ago)
- Topics: asio, cpp, mit-license, modbus, modbus-client, modbus-master, modbus-server, modbus-slave, modbus-tcp
- Language: C++
- Homepage:
- Size: 286 KB
- Stars: 15
- Watchers: 3
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Actions Status](https://github.com/rayandrews/modbus-cpp/workflows/MacOS/badge.svg)](https://github.com/rayandrews/modbus-cpp/actions)
[![Actions Status](https://github.com/rayandrews/modbus-cpp/workflows/Windows/badge.svg)](https://github.com/rayandrews/modbus-cpp/actions)
[![Actions Status](https://github.com/rayandrews/modbus-cpp/workflows/Ubuntu/badge.svg)](https://github.com/rayandrews/modbus-cpp/actions)
[![Actions Status](https://github.com/rayandrews/modbus-cpp/workflows/Style/badge.svg)](https://github.com/rayandrews/modbus-cpp/actions)
[![Actions Status](https://github.com/rayandrews/modbus-cpp/workflows/Install/badge.svg)](https://github.com/rayandrews/modbus-cpp/actions)
[![codecov](https://codecov.io/gh/rayandrews/modbus-cpp/branch/master/graph/badge.svg)](https://codecov.io/gh/rayandrews/modbus-cpp)# ModbusC++ (modbus-cpp)
Modbus master and slave implementation in C++ using Boost Asio
## Supported Functions
- Read Coils (0x01)
- Read Discrete Inputs (0x02)
- Read Holding Registers (0x03)
- Read Input Registers (0x04)
- Write Single Coil (0x05)
- Write Single Register (0x06)
- Write Multiple Coils (0x0F)
- Write Multiple Registers (0x10)
- Mask Write Register (0x16)
- Read/Write Multiple Registers (0x17)## Usage
### Modbus slave (server)
See [server.cpp](standalone/source/server.cpp)
### Modbus master (client)
See [client.cpp](standalone/source/client.cpp)
## TODOs
- [ ] Add tests
- [ ] Complete modbus client/master
- [ ] ...## Authors
Ray Andrew
## Acknowledgement
- [PyModbus](https://github.com/riptideio/pymodbus)
- [Libmodbus](https://github.com/stephane/libmodbus)## LICENSE
[MIT](LICENSE)