ModbusTCP without ServerID
Miq1 opened this issue · comments
Discussed in #303
Originally posted by Typhoor June 13, 2023
I have an application with a ModbusServerTCPAsync where the querying system will use different UnitIDs depending on the situation.
The "Modbus Standard" does not enforce a ServerID for ModbusTCP, but rather speaks about a UnitID which should be just returned or used for routing (like in bridge situations).
Registering Worker on ModbusServerTCPAsync always asks for a ServerID ?!?
Shouldn't it be possible use use ServerID=0 as BroadcastID to answer all UnitIDs.
So how shall I handle this, other then registering 1...247 Worker or change the libraries source code ?
Any ideas ? Hidden possibilities?