modbus icon indicating copy to clipboard operation
modbus copied to clipboard

Added support for multiple slaves

Open mvkvl opened this issue 3 years ago • 1 comments

Changed base Client interface to pass slaveId as an argument to all the methods, to allow communication with multiple slaves on a bus in on session. Mainly this is required for ENC (encapsulated RTU over TCP) mode, when we access a bus via TCP-gateway. Previous implementation required us to establish new TCP session for each slaveId, now we can establish one TCP session and communicate with multiple devices.

mvkvl avatar Sep 17 '22 11:09 mvkvl

It works well. Thank you for your contribution!

mehmetali10 avatar Jun 27 '24 10:06 mehmetali10