Skip to content

Releases: aldas/modbus-tcp-client

3.5.1 - Allow unit ID to be in range of 0-255

10 Mar 12:45
Compare
Choose a tag to compare
  • Allow unit ID to be in range of 0-255 #160

New functions: 11 and 17

01 Jan 17:34
Compare
Choose a tag to compare
  • Adds Function 11 (0x0b) Get Communication Event Counter and Function 17 (0x11) Report server ID support #156

3.4.1. small fixes for warnings

19 Oct 17:28
ac66be6
Compare
Choose a tag to compare
  • Debug page for writing registers, similar to index.php which is for reading registers #148
  • Fix undefined variable in example
  • Fix deprecated string interpolation for PHP8.2 #153

3.4.0 Endian fixes and examples improvements

14 Jun 19:02
17c6e5a
Compare
Choose a tag to compare
  • Endian fixes when Endian::$defaultEndian is set before request/response is created #145
  • Add ability to delay receiving response after request is sent (useful for Serial devices) #144
  • Improved examples/index.php with ability to read serial devices #144

Read*Builder knows how to avoid unaddressable address ranges

11 Jun 19:52
Compare
Choose a tag to compare
  • AddressSplitter can avoid unaddressable ranges when splitting read requests #141

3.2.0 - Composer and AddressSplitter under scrutiny

05 May 20:59
Compare
Choose a tag to compare
  • Made Compose/*Builder classes *AddressSplitter field protected so extending classes can change that field.
  • AddressSplitter uses isFirstByte() for byte sorting
  • Fixed parsing composer WriteRegisterRequest and WriteCoilRequest requests - they should act as composer Read*Request classes and return an array (empty in this case). Composer\Write\Register\WriteRegisterRequest and Composer\Write\Coil\WriteCoilRequest method Parse now returns array|ErrorResponse as interface implementation should.

3.1.1: RTU related fixes

25 Jan 20:21
Compare
Choose a tag to compare
  • Fixed Packet::isCompleteLengthRTU() to differentiate fix sized function code responses from variable sized responses (#129)
  • Add PHP 8.2 into CI flow (#126)

RTU related improvements

16 Oct 19:06
Compare
Choose a tag to compare

3.0.1: Update Github CI flow to run on PRs (#120)

29 Sep 07:53
39f874a
Compare
Choose a tag to compare
  • ResultContainer.offsetGet was missing return type
  • Update Github CI flow to run on PRs

3.0.0 - PHP 8.0, types for arguments and return values, add FC22 Mask Write Register function support

11 Apr 18:04
Compare
Choose a tag to compare

Breaking change - types for all arguments/return values

Changed

  • Minimum version is now PHP 8.0
  • All method arguments and returns values have types now
  • Examples use now up-to-date React event loop

Added

  • Adds Function 22 (0x16) Mask Write Register support
  • Use PHPStan for code static analysis in CI flow