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 Node Scan
-
I've got a couple of Modbus/tcp devices on the network, but the 'node scan' doesn't see anything when pointed at the correct IP address. Does anyone know what the 'node scan' is attempting to do/ how it works? (I need to work out if it's not working because the devices don't support the 'scan' request, or if there is some other problem)
-
Hi ChargeRegulator, welcome to the forum!
The Modbus scan tool is going through the slave IDs from 0 to 240 one at a time sending read holding registers at offset zero for one register: https://github.com/infiniteautomation/modbus4j/blob/master/Modbus4J/src/com/serotonin/modbus4j/ModbusMaster.java#L185
It will use the retry and timeout settings from the data source configuration, so if you are hoping it will discover a slave with a high slave ID, it may be many minutes before it even tries that ID.
-
OK, got the device set up correctly and the node scan finds it now! On to the next step..