Skip to content

Handle non-standard register sizes; and added pre and post TX delay options for serial.#3

Open
bapowell wants to merge 3 commits into
serhmarch:mainfrom
bapowell:main
Open

Handle non-standard register sizes; and added pre and post TX delay options for serial.#3
bapowell wants to merge 3 commits into
serhmarch:mainfrom
bapowell:main

Conversation

@bapowell
Copy link
Copy Markdown

  1. Miscellaneous small fixes/tweaks.
  2. For ReadHoldingRegs and ReadInputRegs, device (ModbusInterface) can return a (registerSize, valueBuff) tuple to indicate a non-standard register size (i.e. not 2 bytes).
  3. In ModbusClientPort, for some of the F (fmt) methods, call the extended method in the same class directly. Otherwise the inherited subclass method is called, which isn't the desired behavior in those cases.
  4. Added preTxDelay and postTxDelay options to ModbusSerialPort.

bapowell added 3 commits May 11, 2026 17:09
…eturn a tuple, (registerSize, valueBuff), to indicate a non-standard register size (i.e. not 2 bytes); various small fixes/tweaks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant