问题标签 [opc]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
com - MIDL 编译器错误:MIDL
当我使用 MIDL 将 IDL 文件编译为 .h 和 .c 时,我收到一条错误消息:
midl:命令行错误 MIDL1004:无法执行 C 预处理器 cl.exe。
请帮助我,我不知道为什么。
我使用的 MIDL 编译器是 VC++ 6.0 的一部分。
谢谢。
asp.net - OPC 服务处理和监控
我正在编写一个将用于某些数据处理的 Windows 服务。该服务将连接到OPC (KepWare) 服务,并将通过事件处理程序监视特定项目。必要时还必须写回 OPC 数据项;但是,要写回的数据必须来自 Windows 移动手持设备。
我只是对这个系统的设计方面感到困惑。我试图确保我以抽象的方式设计它,以使其可扩展且易于维护。但是,我只是停留在如何与服务通信以告诉它将此值写入 OPC 服务器。我在想 WCF 是要走的路,但我不确定如何编写它,当客户端进行调用时,我可以获得对连接的 OPC 对象的引用?我应该编写一个 WCF 库并将其托管在 Windows 服务中还是应该走一条不同的路线?
提前致谢
rpc - opc, server not connect
I need to realize OPC server, on Windows XP. I download OPC library, and OPC client (application not library). I realize my OPC server, when i use client on my machine all runs normally. But when i connect from remote computer i do not see my server. I understand that the technology dkom potentially dangerous. I get this manual, and did everything on it, but nothing changed. I disable my windows firewall, add 135 port in windowds firewall exception. In dcomcnfg grants local and remote access to "anonymous" and "all" groups, grants local and remote launch & activation to "administrators" and "all" groups. And nothing changed, i did not give the right of my DCOM component because i thought the following: i get list of servers not work with them. In my microsoft network no domain and active directory, can i achieve the desired result in this case?
plc - PLC 未连接到 KEP 服务器 (OPC)
我们无法让我们的 PLC 与 KEPServerEX (OPC) 可靠连接。
我想知道 SOF 的其他人是否有使用 PLC 和 OPC 的经验。如果是这样,他们是否有任何与我们的 OPC 服务器建立可靠连接的提示。我们目前将 KEPServerEX 用于我们的 OPC,但如果有人知道更好的程序可以使用,我们愿意接受建议。
open-source - 不错的开源OPC软件
我们目前正在为我们的 OPC 使用免费试用版的 KEP 服务器与我们的 PLC 进行通信。我们想知道是否有人知道任何好的开源 OPC 软件。
opc - 什么是历史学家?
就 OPC 和 PLC 而言,历史学家的功能是什么?
java - 使用 OpenScada UTGARD 创建 OPC 客户端
我已经将 PLC 连接到 Matrikon opc 通用服务器,现在我的任务是将 OPC 服务器连接到基于 Java 的客户端。我正在使用 jinterop 库,我认为 utgard 对我来说真的很有用,但我真的不知道如何开始。
我找不到任何使用 utgard 的示例,而且我不知道如何访问他们自己的示例或文档。
c# - 长时间使用的 COM 对象
如何在 C# 中使用 COM 对象的生命周期
我将创建 OPC 服务器对象,它将用于 threading.timer 这个定时器将在一段时间后每隔几秒调用一次 opcserver 对象,它将释放自己的异常作为“ COM 对象已从其底层 RCW 无法使用..”
这是代码
请告诉我正确的解决方案
c# - 使用 OPCDA.NET 工具远程访问 OPC 服务器
我正在 Windows C# 中开发 OPC 客户端。我已经开发了代码并阅读了采样和基于事件的 OPC 项目(OnDataChange)。当我使用本地机器时,我的代码在采样和 OnDataChange 上都可以正常工作,但是当我尝试从远程 OPC 服务器读取数据时,采样可以正常工作,但我无法在基于事件的过程中获取数据。我能够连接到 OPC 服务器,但是当我向它添加订阅时,我得到了错误。
HRESULT:0x80040202。
OPC 服务器已连接,然后也注册了该组,但读取数据时出现异常。
.net - 如何开始开发 OPC Xi(.NET 3.0 WCF 服务)服务器(服务)
我想使用最新的标准版本实现一个 OPC 服务器:OPC Xi
. 我的目的不是提供实际使用的服务,我只是想开发一个功能服务器,从某个工业站的传感器返回数据(不存在:功能)。
主要目的是创建一个用于学术目的的服务器,以便让学生和其他人利用这个免费的服务器来练习 OPC 调用和 OPC 标准。
好吧,我刚从OPC .NET 3.0 (WCF) Contracts and ServerBase [1.20.4]
OPCFoundation 网站下载。
该 zip 包含一个带有多个项目的 Visual Studio 2008 解决方案。
好吧,我对 WCF 服务已经足够熟练了,所以我希望我只需要实现一些接口对吗???
在解决方案中有一个名为Xi Contracts VS2008
. 在那里,我可以找到这些接口(都标记为ServiceContract
):
ICallback
服务合同接口。IPoll
服务合同接口。IRead
服务合同接口。IResourceManagement
服务合同接口。IRestRead
服务合同接口。IServerDiscovery
服务合同接口。IWrite
服务合同接口。
我希望这些是在我的网络服务中实现的,对吗???
另一个问题:还有一个项目叫Xi Server Base VS2008
,它是干什么用的???
谢谢