Hi.Can anybody give suggestions regarding the Modbus Tcp/Ip
-
I am using Mango automation-2.0.6 version, Modbus -1.4.2, and Java-6.
while using the Modbus Tcp/Ip connection i have a problem the devices are not connecting it is showing the error as
'**modbusIp': com.serotonin.modbus4j.exception.ModbusInitException: java.net.SocketTimeoutException: connect timed out
**Thank you in advance :)
-
Do you get this error all the time or just now and then. It's normal with modbus communication to get some errors occasionally. If you disable the datasource can you use the point locator tool to successfully communicate with your device?
I would also recommend trying the TCP with keep alive option as that might help.
Joel.
-
I tried with Tcp with alive also that time the Point locator test error is coming.
Thankyou in advance:)
-
Something is not configured correctly with your device or the data source. Please share some screen shots so we can see the configurations and the errors.
Thanks,
Joel. -
Why not trying to poll your slave withj a command line tool like "modpoll" ?
once you'll be sure that everythning is allright with it, then switch back to Mango.
Also use the log functionality in Mango (check the Log I/O Box in the modbus Data Source) and make a tail -f on the modbusIO-1.log file