P
If you use the Unit ID in the MBAP header as the RTU destination address when bridging messages from Modbus/TCP to RTU, how should 0 be handled?
Should 0 be used to bridge a broadcast message, or should the request be routed to the local device and handled by the bridge module itself?
If the unit ID is not used, it will typically be set to 0. This means that a request from an unknowing client that just wants to read or write registers on the bridge module may be interpreted as a bridged broadcast.
I feel it is safer to not allow bridged broadcasts.
Has anyone else run into this issue? If so, what is the common feeling on how it should be handled?
Thanks!
Perry
Should 0 be used to bridge a broadcast message, or should the request be routed to the local device and handled by the bridge module itself?
If the unit ID is not used, it will typically be set to 0. This means that a request from an unknowing client that just wants to read or write registers on the bridge module may be interpreted as a bridged broadcast.
I feel it is safer to not allow bridged broadcasts.
Has anyone else run into this issue? If so, what is the common feeling on how it should be handled?
Thanks!
Perry