NModbus is a C# implementation of the Modbus protocol.