如何通过VB程序读取以太网通讯中PLC S7-200智能的数字输入状态? [英] How do I read digital input status of PLC S7-200 smart on ethernet communication from by VB program?

查看:659
本文介绍了如何通过VB程序读取以太网通讯中PLC S7-200智能的数字输入状态?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Experts,

我熟悉PLC编程,但我正在开发一个PC接口,我需要读取数字输入的状态以便进一步处理。

I需要帮助建立西门子S7-200智能PLC和我的Windows应用程序之间的以太网通信(我将在Visio Studio-2012中开发)。

请询问其他详细信息。

我很想收到一些建议。



我尝试过:



到目前为止,我已经尝试了一些像libnodave和SNAP7这样的免费程序库,但还没有成功。

Hello Experts,
I am conversant with PLC programming but I am developing a PC interface wherein I am required to read status of Digital Inputs for further processing.
I need help in establishing Ethernet communication between Siemens S7-200 Smart PLC and my windows application (Which I will develop in Visio Studio-2012).
Please ask for additional details.
I am Eager to receive some suggestion for this.

What I have tried:

So far I have tried some free program library like libnodave and SNAP7 but have not succeeded.

推荐答案

你需要研究设备文档来检查一下它支持的协议。然后,您可以使用相关的.NET类进行连接。
You need to study the device documentation to check what protocol it supports. you can then use the relevant .NET class to connect.


现在,LibNoDave-Library被名为Jochen Kuehner的人大大改进了。他还提供了很多样本​​来处理它。

如果您想了解更多信息,您应该在德国PLC论坛 www.SPS-Forum.de

您也可以联系JochenKühner获取更多信息。



但是还有更多关于您的代码的信息(等等)需要。
The LibNoDave-Library nowadays is much improved by a guy named "Jochen Kuehner". He also made a lot of samples to work with it.
If you want more Information you should post this question in the German PLC-Forum www.SPS-Forum.de.
Here you could also contact Jochen Kühner for more Information.

But also there is much more Information about your code (and so on) required.


这篇关于如何通过VB程序读取以太网通讯中PLC S7-200智能的数字输入状态?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆