File tree Expand file tree Collapse file tree 3 files changed +14
-17
lines changed Expand file tree Collapse file tree 3 files changed +14
-17
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,19 @@ API changes 3.10.0
99- slave=, slaves= replaced by device_id=, device_ids=
1010- slave request names changed to device
1111- bit handling order is LSB (last byte) -> MSB (first byte)
12+ readCoils and other bit functions now return bit in logical order (NOT byte order)
13+
14+ Older versions had LSB -> MSB pr byte
15+ V3.10 have LSB -> MSB across bytes.
16+
17+ Example:
18+ Hex bytes: 0x00 0x01
19+ Older versions would deliver False * 8 True False * 7
20+ V3.10 deliver True False * 15
21+
22+ Hex bytes: 0x01 0x03
23+ Older versions would deliver True False * 7 True True False * 6
24+ V3.10 deliver True True False * 6 True False * 7
1225
1326API changes 3.9.0
1427-----------------
Original file line number Diff line number Diff line change 1- Copyright 2008-2023 Pymodbus
1+ Copyright 2008-2025 Pymodbus
22
33Redistribution and use in source and binary forms, with or without
44modification, are permitted provided that the following conditions
Original file line number Diff line number Diff line change @@ -4,22 +4,6 @@ Pymodbus 4.0 upgrade procedure
44Pymodbus 4.0 contains a number of incompatibilities with Pymodbus 3.x, however
55most of these are simple edits.
66
7- Bit handling
8- ------------
9- readCoils and other bit functions now return bit in logical order (NOT byte order)
10-
11- Older versions had LSB -> MSB pr byte
12- New version have LSB -> MSB across bytes.
13-
14- Example:
15- Hex bytes: 0x00 0x01
16- v3.x would deliver False * 8 True False * 7
17- V4.x deliver True False * 15
18-
19- Hex bytes: 0x01 0x03
20- v3.x would deliver True False * 7 True True False * 6
21- V4.x deliver True True False * 6 True False * 7
22-
237
248Python 3.9
259----------
You can’t perform that action at this time.
0 commit comments