Skip to content

Commit abe2c5e

Browse files
committed
Merge branch 'dev'
2 parents 6143a0e + d2e4b39 commit abe2c5e

File tree

13 files changed

+75
-54
lines changed

13 files changed

+75
-54
lines changed

API_changes.rst

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,22 @@ API changes
22
===========
33
Versions (X.Y.Z) where Z > 0 e.g. 3.0.1 do NOT have API changes!
44

5+
API changes 3.11.0
6+
------------------
7+
- Revert wrong byte handling in v3.10.0
8+
bit handling order is LSB-> MSB for each byte
9+
REMARK: word are ordered depending on big/little endian
10+
readCoils and other bit functions now return bit in logical order (NOT byte order)
11+
12+
Example:
13+
Hex bytes: 0x00 0x01
14+
delivers False * 8 True False * 7
15+
16+
Hex bytes: 0x01 0x03
17+
delivers True False * 7 True True False * 6
18+
519
API changes 3.10.0
6-
-----------------
20+
------------------
721
- ModbusSlaveContext replaced by ModbusDeviceContext
822
- payload removed (replaced by "convert_to/from_registers")
923
- slave=, slaves= replaced by device_id=, device_ids=

AUTHORS.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Pymodbus version 3 family
1010
-------------------------
1111
Thanks to
1212

13+
- aaru-astranis
1314
- ahcm-dev
1415
- AKJ7
1516
- Alex

CHANGELOG.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,13 @@ helps make pymodbus a better product.
77

88
:ref:`Authors`: contains a complete list of volunteers have contributed to each major version.
99

10+
Version 3.11.0
11+
--------------
12+
* Correct bit handling (each byte is LSB->MSB). (#2707)
13+
* read_input_registers docstring change count to regs (#2704)
14+
1015
Version 3.10.0
11-
-------------
16+
--------------
1217
* Raise runtimeerror if listen() fails. (#2697)
1318
* Correct values parameter in setValues. (#2696)
1419
* Correct return from getValues. (#2695)

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Upgrade examples:
2929

3030
It is always recommended to read the CHANGELOG as well as the API_changes files.
3131

32-
Current release is `3.10.0 <https://github.com/pymodbus-dev/pymodbus/releases/tag/v3.10.0>`_.
32+
Current release is `3.11.0 <https://github.com/pymodbus-dev/pymodbus/releases/tag/v3.11.0>`_.
3333

3434
Bleeding edge (not released) is `dev <https://github.com/pymodbus-dev/pymodbus/tree/dev>`_.
3535

doc/source/_static/examples.tgz

9 Bytes
Binary file not shown.

doc/source/_static/examples.zip

0 Bytes
Binary file not shown.

doc/source/roadmap.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The maintainers are very open to these pull request, and ONLY work to secure tha
1313

1414
The following bullet points are what the maintainers focus on:
1515

16-
- 3.10.x, with:
16+
- 3.12.x, with:
1717
- Currently not planned
1818
- 4.0.0, with:
1919
- ModbusControlBlock pr slave

doc/source/upgrade_40.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ Pymodbus 4.0 upgrade procedure
44
Pymodbus 4.0 contains a number of incompatibilities with Pymodbus 3.x, however
55
most of these are simple edits.
66

7-
87
Python 3.9
98
----------
109
Python 3.9 is reaching end of life and from october 2025 no longer receives security updates.

pymodbus/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@
2020
from pymodbus.pdu.device import ModbusDeviceIdentification
2121

2222

23-
__version__ = "3.10.0"
23+
__version__ = "3.11.0"
2424
__version_full__ = f"[pymodbus, version {__version__}]"

pymodbus/client/mixin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def read_input_registers(self,
121121
"""Read input registers (code 0x04).
122122
123123
:param address: Start address to read from
124-
:param count: (optional) Number of coils to read
124+
:param count: (optional) Number of registers to read
125125
:param device_id: (optional) Modbus device ID
126126
:param no_response_expected: (optional) The client will not expect a response to the request
127127
:raises ModbusException:

0 commit comments

Comments
 (0)