On Thursday, September 26, 2013 8:43:44 AM UTC-4, garyamort wrote:
>
>
>
>
> Then modify the bandwidth-client and random-client to swap the localhost 
> address[127.0.0.1, port 1502] with the gateway adddress[192.168.7.3, port 
> 502] and rerun them to see if you get a connection.
>

Opps. I think I have my terminology wrong.  I automatically think of 
"master" as the server and "slave" as the client - but for Modbus this is 
reversed?  Ie the Master is the system which makes the connection and 
requests data.  While the slave is the one to wait for connections and 
respond?

If that's the case, then you would need to change the port number in 
bandwidth-server and random-server from 1502 to 502[to match the HMI 
Master] and run them, then the HMI Master can connect to them and try to 
read/write data.  Obviously once you have it connecting then you will need 
to modify your server code to respond to the appropriate commands.


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to