mercredi 18 février 2015

Connecting to multiple clients TCP modbus


Vote count:

0




I have a working modbus server and client using a python script I run on the ocmputer, it operates by using socket.connect with the client's ip and port to connect and allow for modbus requests to be exchanged.


I do not know how to apply this for multiple ip's. What I want my program to do is connect to 10 different modbus clients and query them all for information.


Is it possible to call multiple socket.connect to open multiple streams? and if so will it function similarly to a serial connection when each client will need a unique slave ID?



asked 1 min ago

Ross

16






Connecting to multiple clients TCP modbus

Aucun commentaire:

Enregistrer un commentaire