简体   繁体   English

如何使用MODBUS协议管理来自多个Windows窗体应用程序的通信?

[英]How can I manage communication from multiple windows forms applications using MODBUS protocol?

I am trying to implement a module in an application that handles communication with a PLC or multiple PLCs. 我正在尝试在处理与一个或多个PLC的通信的应用程序中实现模块。 I am currently using ac# library implementation to interface with the mbserver application found here http://mbserver.tripod.com/ . 我目前正在使用ac#库实现与位于http://mbserver.tripod.com/的mbserver应用程序接口。 I am using a serial port to handle the commucation. 我正在使用串行端口来处理通信。 The problem I am having is that in the event of an unplug of the serial cable my application is not able to recover from it unless I use a configuration application provided by the same company. 我遇到的问题是,在拔下串行电缆的情况下,除非使用同一家公司提供的配置应用程序,否则我的应用程序将无法从中恢复。 I am looking into MBLogic software but it all written in python. 我正在研究MBLogic软件,但它们都是用python编写的。 Other than that I don't really have too many ideas. 除此之外,我真的没有太多想法。

I have used OPC in the past to communicate with PLCs: 我过去曾使用OPC与PLC进行通信:

http://www.opcfoundation.org/ http://www.opcfoundation.org/

They have a .NET driver under their downloads section. 他们的下载部分下有一个.NET驱动程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM