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.
Problem testing Modbus IP Data Source
-
I've created a modbus IP data source and data point.
I'm also running this server in localhost:502 http://code.google.com/p/modbus-tk/source/browse/trunk/examples/tcpslave_example.pyIf I use th scan nodes feature, Mango successfully finds the single slave in the server. But if I create a Data point for the slave 1 no data is recorded in Mango and no output appears in the server stdout.
Am I missing something? This is supposed to work.
-
Note that registers in Mango are 0-indexed. Modbus documentation is sometimes 1-index. Try subtracting 1 from your register and see if that works.
-
Tried it, but same result: none.
In the Python script I dont see any request from Mango. I did see it while using the "Search for nodes" feature.
-
Sorry, i can't help much. I've never used that toolkit. But using the Modbus4J listener test i was able to successfully connect, read and write. Are you sure you're using the right register values?
-
Is there a way to test if Mango is sendign the modbus ip pabkets over the net?
-
Wireshark?
-
Seems I cant capture traffic in the loopbak interface http://wiki.wireshark.org/CaptureSetup/Loopback