Modbus TCP, Modbus UDP and Modbus RTU client/server library for .NET
All values can be published to a Mqtt-Broker
Supports Function Codes:
- Read Coils (FC1)
- Read Discrete Inputs (FC2)
- Read Holding Registers (FC3)
- Read Input Registers (FC4)
- Write Single Coil (FC5)
- Write Single Register (FC6)
- Write Multiple Coils (FC15)
- Write Multiple Registers (FC16)
V4.3: Bugfixes Modbus RTU
Webview for Modbus Server Simulator and MQTT functionality for Server
V4.0: Added Mqtt Bridge, which allows to poll values from a Server and publish to a Mqqt-Broker
V3.0: Bugfix Client wrong size FC15
V2.9: Static Methods to send and receive 64 Bit values
Bugfix Event coils changed - quantity
V2.8: Static Methods to send and receive Strings
V2.7: optionally Store Log-Data
V2.6 HF1: Solved problem with CRC-Check and Modbus RTU
Write operations in Client-Example
- Modbus TCP
- Modbus UDP
- Modbus RTU
- CRC Checking
- ATMEL Atmega Slave
- Step 7
I tried to registers continuously using infinite loop, but program stops after certain amount of time. can you please help me with this??
Easy to use. Relaible. Thanks.
Very easy to use and reliable library for Modbus communication.
Works really good...