[Tutor] where to look for help with modbus TCP/IP

Kent Johnson kent37 at tds.net
Thu Apr 5 19:00:25 CEST 2007


Jeff Peery wrote:
> hello, I want to use python to communicate (pluck data out of registers) 
> with a controller (walchem, 
> http://www.walchem.com/nav/CMImage.aspx?CMID=0&Name=180277_Modbus_C.pdf). 
> I found great documentation using python sockets and TCP/IP; however I 
> am very unfamiliar with modbus and how modbus TCP/IP is related to 
> TCP/IP. Does anyone know where I might find sample code or a good book 
> describing how to do this? thanks.

 From a quick look at the docs you reference, my guess is you just open 
a socket to the device and start exchanging data. Figuring out the 
command formats might take some time to get right.

Kent


More information about the Tutor mailing list