Skip to content

Releases: Apollo3zehn/FluentModbus

v5.3.0

19 Sep 17:02
Compare
Choose a tag to compare

Features

  • Implement ModbusRtuOverTcpClient.cs (#99) Thanks @schotime!

v5.2.0

23 Apr 08:47
Compare
Choose a tag to compare

Features

  • Make IsConnected an abstract member of ModbusClient (#115)

v5.1.0

21 Feb 09:00
Compare
Choose a tag to compare

Features

  • Add option for raising event even if values of buffer have not changed (#96)
  • support for WriteMultipleCoils (#111)

Bugs Fixed

  • Fixed propagation of cancellationToken (#100)
  • Fixed exception for malformed messages (#101)
  • typo in ModbusClient docstring (#95)
  • SampleServerClientTCP broken? (#102)

v5.0.3

03 Aug 14:32
Compare
Choose a tag to compare
  • The Modbus TCP server now returns the received unit identifier even when its own unit identifier is set to zero (the default) (solves #93).
  • The protected methods AddUnit() and RemoveUnit() have been made public.

v5.0.2

17 Nov 12:09
Compare
Choose a tag to compare

Bugs Fixed

  • The Modbus RTU client did not correctly detect response frames (thanks @zhangchaoza, fixes #83)

v5.0.1

14 Nov 11:00
Compare
Choose a tag to compare

Bugs Fixed

v5.0.0

08 Sep 10:02
Compare
Choose a tag to compare

Breaking Changes

  • The previously introduced TCP client constructor overload was called Connect although it expected a totally externally managed TCP client which should already be connected. This constructor is now named Initialize and its signature has been adapted to better fit its purpose. The passed TCP client (or IModbusRtuSerialPort in case of the RTU client) is now not modified at all, i.e. configured timeouts or other things are not applied to these externally managed instances (#78).

Features

  • Modbus TCP and RTU clients implement IDisposable so you can do the following now: using var client = new ModbusTcpClient(...) (#67)
  • Modbus server base class has now a virtual Stop method so the actual server can be stopped using a base class reference (#79).

Bugs Fixed

  • The Modbus server ignored the unit identifier and responded to all requests (#79).
  • Modbus server side read timeout exception handling is more defined now:
    • The TCP server closes the connection.
    • The Modbus RTU server ignores the exception as there is only a single connection and if that one is closed, there would be no point in keeping the RTU server running.
  • Modbus server did not properly handle asynchronous cancellation (#79).

See API changes on Fuget.org

Thanks @schotime and @LukasKarel for your PRs!

v4.1.0

17 Aug 07:34
Compare
Choose a tag to compare

Features

  • Added a new constructor to the ModbusTcpClient which allows passing your own externally managed TcpClient.

Fuget API Diff

https://www.fuget.org/packages/FluentModbus/4.1.0/lib/netstandard2.1/diff/4.0.0/

v4.0.0

16 Aug 08:58
Compare
Choose a tag to compare

Features

  • All features of the previously released v4 previews.
  • Added a new RTU client constructor which allows passing self-managed COM ports (#77). Thanks @schotime!

v4.0.0-preview.5

28 Jul 10:11
Compare
Choose a tag to compare

Bugs Fixed

  • Fixed a bug that caused Modbus RTU frames to be detected incorrectly under certain circumstances (#75 ). Thanks @iberisoft !