Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
MODBUS RTU discovery.
-
Hi,
I'm building a java modbus data acquisition system (using MODBUS4J), I've successfully communicated with the modbus device using its slave id, address, datatype.But is there a way to just detect slaves, by just addressing slaves from 0-255 without specific register or coil addresses? So, that slaves with matching slaveId's respond.
-
Modbus does not provide a built-in way of detecting slaves. So to do what you want to do would need to be a hack or workaround...Such as polling each slave, if there is a response from that slaveId even if it is an error code such as "illegal address", then there is probably a slave of that ID ??