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:
- FC03: ReadHoldingRegisters
- FC16: WriteMultipleRegisters
- FC01: ReadCoils
- FC02: ReadDiscreteInputs
- FC04: ReadInputRegisters
- FC05: WriteSingleCoil
- FC06: WriteSingleRegister
- 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: