Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.10.0
-
None
Description
The current implementation of QModbusTcpServer sets the default value of ModbusID to 255. The server in the modbus TCP should respond to the request from the client regardless of the client's ModbusID value. In the current implementation of QModbusTcpServer, the server responds only to clients who have the same ID as the server set. This is used in ModbusTCP <-> ModbusRTU converters. Connection to a specific device on the TCP / IP side is uniquely identified by IP and port, while ModbusID is used to query devices on the RTU side (RS-232 or RS-485).