使用网页远程监控设备 [英] Monitoring devices remotely using a web page

查看:111
本文介绍了使用网页远程监控设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。

我的名字是Jan,我是一名工程师和软件开发人员。我在vb.net中开发桌面应用程序和c#



项目概述:



我想建立一个.net或c#中的桌面软件,用于从PLC或其他MODBUS设备读取和写入数据。

该软件将是数据绑定的,我希望有人能够通过以下方式访问软件中的信息只需上网并获得流程变量或有时甚至可以控制。我不是一个

网站开发人员,这就是为什么我来这个论坛要求助理



问题陈述:

1.市场上哪种网络开发软件能够从数据库导入并在网页上显示

2.如果我开发网页,我该如何运行它在连接到PLC的计算机上,以便网页可供互联网上的某些用户使用,比如控制工程师可以在家中访问信息,同时在下班后与妻子共度美好时光



我真的很关心如何处理上面提到的第2号问题



我期待捐款,积极评论,补充

问候

Jan Makopa

解决方案

用VB.NET?当然,你可以做到。它曾经是一种为硬件控制应用程序公开UI的流行方法,但主要使用Java。 ASP.NET也很有可能。根据您的问题项目,您需要以下内容:

  1. 您需要的技术是ADO.NET:

    http://en.wikipedia.org/wiki/ADO.NET [ ^ ],

    http://msdn2.microsoft.com/en-us/library/aa286484.aspx [ ^ ]。



    此CodeProject文章可以帮助让您立刻开始:为初学者使用ADO.NET [< a href =http://www.codeproject.com/Articles/8477/Using-ADO-NET-for-beginners\"target =_ blanktitle =New Window> ^ ]。
  2. 连接到MODBUS的计算机需要充当HTTP服务器。您需要使用支持ASP.NET的IIS或其他HTTP服务器。





-SA

Hie everyone.
My name is Jan and i am an engineer and software developer. I develop desktop applications in vb.net and c#

Project Overview:

I want to build a desktop software in .net or c# to read and write data to and from a PLC or other MODBUS devices.
The software will be databound and i want someone to be able to access the information from the software by simply going online and get the process variable or sometimes even control. I am not a
web developer and that is why i came to this forum to ask for assistants

Problem Statement:
1. which web development software is there on the market that has the capability to import from a database and display on webpage
2. If say i develop the webpage, how do i run it on the computer connected to the PLC so that
the webpage is available for certain users on internet, say a control engineer can access the information from home while having a nice time with wife after work

I am really concerned in finding out how to approach problem number 2 mentioned above

I am looking forward to contributions, positive critics, additions
Regards
Jan Makopa

解决方案

With VB.NET? Sure, you can do it. It used to be a popular approach to exposing UI for the hardware control applications, but mostly using Java. It's quite possible with ASP.NET, too. Here is what you need, according to your items of your question:

  1. The technology you need is ADO.NET:
    http://en.wikipedia.org/wiki/ADO.NET[^],
    http://msdn2.microsoft.com/en-us/library/aa286484.aspx[^].

    This CodeProject article can help to get you started in no time: Using ADO.NET for beginners[^].
  2. You computer connected to MODBUS will need to act as an HTTP server. You need to use IIS or other HTTP server supporting ASP.NET.



—SA


这篇关于使用网页远程监控设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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