Skip to content

Lightweight and fast client and server implementation of the Modbus protocol (TCP/RTU).

License

Notifications You must be signed in to change notification settings

Apollo3zehn/FluentModbus

Repository files navigation

FluentModbus

GitHub Actions NuGet

FluentModbus is a .NET Standard library (2.0 and 2.1) that provides Modbus TCP/RTU server and client implementations for easy process data exchange. Both, the server and the client, implement class 0, class 1 and class 2 (partially) functions of the specification. Namely, these are:

Class 0:

  • FC03: ReadHoldingRegisters
  • FC16: WriteMultipleRegisters

Class 1:

  • FC01: ReadCoils
  • FC02: ReadDiscreteInputs
  • FC04: ReadInputRegisters
  • FC05: WriteSingleCoil
  • FC06: WriteSingleRegister

Class 2:

  • FC15: WriteMultipleCoils
  • FC23: ReadWriteMultipleRegisters

Please see the introduction to get a more detailed description on how to use this library!

Below is a screenshot of the sample console output using a Modbus TCP server and client:

Sample.

About

Lightweight and fast client and server implementation of the Modbus protocol (TCP/RTU).

Resources

License

Stars

Watchers

Forks

Packages

No packages published