Skip to content

Add quirks flag MODBUS_QUIRK_IGNORE_RTU_SLAVE_CHECK.#672

Open
vancepym wants to merge 1 commit intostephane:masterfrom
vancepym:master
Open

Add quirks flag MODBUS_QUIRK_IGNORE_RTU_SLAVE_CHECK.#672
vancepym wants to merge 1 commit intostephane:masterfrom
vancepym:master

Conversation

@vancepym
Copy link

@vancepym vancepym commented Dec 7, 2022

The Modbus RTU mode currently only allows a single slave, the message is ignored when not from the expected slave.

The MODBUS_QUIRK_IGNORE_RTU_SLAVE_CHECK flag allow ignore the Modbus unit identifier (slave) checking, in this way, the RTU slave device can acts as a multi-channels gateway, receive the request messages for different slave from upstream channel, then forward those to the downstream channel in transparent mode.

@cla-bot
Copy link

cla-bot bot commented Dec 7, 2022

We require contributors to sign our Contributor License Agreement. In order for us to review and merge your code, please fill https://forms.gle/5635zjphDo5JEJQSA to get added. Your document will be manually checked by the maintainer. Be patient...

@cla-bot
Copy link

cla-bot bot commented Dec 8, 2022

We require contributors to sign our Contributor License Agreement. In order for us to review and merge your code, please fill https://forms.gle/5635zjphDo5JEJQSA to get added. Your document will be manually checked by the maintainer. Be patient...

@vancepym
Copy link
Author

vancepym commented Feb 3, 2023

Waiting for this PR to be merged, thanks.

The Modbus RTU mode currently only allows a single slave, the message is ignored when not from the expected slave. The MODBUS_QUIRK_IGNORE_RTU_SLAVE_CHECK flag allow ignore the Modbus unit identifier (slave) checking, in this way, the RTU slave device can acts as a multi-channels gateway, receive the request messages for different slave from upstream channel, then forward those to the downstream channel in transparent mode. Signed-off-by: Scott Fan <fancp2007@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant