首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >RsiOPCAuto.dll...去哪找?

问RsiOPCAuto.dll...去哪找?
EN

Stack Overflow用户
提问于 2012-12-12 18:56:06
回答 1查看 3.8K关注 0票数 1

我需要与工厂机器接口,在我们的每一家工厂,我们使用RSLinx与该机器进行通信。根据这篇博客文章,从RSLinx读取数据相对容易:

代码语言:javascript
复制
    Dim OpcServer As New RsiOPCAuto.OPCServer
    Dim OpcGroup As RsiOPCAuto.OPCGroup
    Dim OpcItem As RsiOPCAuto.OPCItem
    Dim vItem As String = ""

    Try
        OpcServer.Connect("RSLinx Remote OPC Server", "192.168.195.128")

        ' Add this group to the shared topic
        OpcGroup = OpcServer.OPCGroups.Add("INDEC")
        OpcGroup.IsSubscribed = False
        OpcGroup.IsActive = False
        OpcGroup.UpdateRate = 250

        OpcGroup.OPCItems.DefaultAccessPath = "OPC_Test"
        OpcGroup.OPCItems.AddItem("OPC_Bit001", 1)
        OpcItem = OpcGroup.OPCItems.Item(1)

        OpcItem.Read(2, vItem)

        OpcItem = Nothing
        OpcServer.OPCGroups.RemoveAll()
        OpcGroup = Nothing
        OpcServer.Disconnect()
        OpcServer = Nothing

        'Add and Error the list box
    Catch ex As PlatformNotSupportedException
        MsgBox("Error In Get Plc Data: " & ex.Message)
    End Try

    MsgBox(vItem)

但是..。它说我需要添加对RsiOPCAuto.dll的引用,但我不知道:

  1. 在哪里能找到
  2. 它所能做的一切
  3. 任何关于许可的事情

特别是,我很好奇是否有人知道我在哪里可以找到那个DLL。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-08-26 00:09:33

此文件RsiOpcAuto.dll位于c/programfiles/commonfiles/Rockwell中,只要您有许可的rslinx或专业版本(网关) 2.54或以下。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/13846670

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档