本文介绍了通过wifi进行android通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我去了一个应用程序android程序,在这个应用程序中我必须使用我的设备的wifi通信(三星ace 2)与另一个设备(plc,...)进行通信但是在modbus protocole中,
I went programme an application android , in this application i must use communication via wifi of my device( samsung ace 2) for communicate with another device(plc,...) but in modbus protocole ,
推荐答案您好, 您可以做的就是在服务器或PC上安装TCP服务器并让您的移动通话通过wi-fi到这个服务器,然后这个服务器通过线路使用modbus协议与plc通信。我无法评论通过Wi-Fi直接与PLC通信,因为它完全取决于您使用的SPECIFIC设备。 问候, Hello, What you can definitely do is to have a TCP server on your server or PC and let your mobile talk to this server over wi-fi and this server then comunicates with the plc using modbus protocol over wire. I can''t really comment on directly communicating with PLC over wi-fi as it completely depend on the SPECIFIC device you are using. regards,
我在想通过wifi与模块进行通信,然后通过Modbus protocole从这个模块与plc进行通信,这是通过无线直接通信的好方法。 I am thinking that communicate over wifi with a module , then communicate with plc from this module with Modbus protocole , it''s a good solution for directly communication via wireless.
更多推荐
通过wifi进行android通信
发布评论