Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.net RsiOPCAuto.dll。。。在哪里可以找到?_.net_Integration_Dde - Fatal编程技术网

.net RsiOPCAuto.dll。。。在哪里可以找到?

.net RsiOPCAuto.dll。。。在哪里可以找到?,.net,integration,dde,.net,Integration,Dde,我需要与工厂机器进行接口,在我们的每个工厂,我们都使用RSLinx与该机器进行通信。据了解,从RSLinx读取数据相对容易: Dim OpcServer As New RsiOPCAuto.OPCServer Dim OpcGroup As RsiOPCAuto.OPCGroup Dim OpcItem As RsiOPCAuto.OPCItem Dim vItem As String = "" Try OpcServer.Connect

我需要与工厂机器进行接口,在我们的每个工厂,我们都使用RSLinx与该机器进行通信。据了解,从RSLinx读取数据相对容易:

    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的引用,但我不知道:

  • 在哪里可以找到它
  • 它能做什么
  • 关于许可证的事吗

  • 具体来说,我很好奇是否有人知道我在哪里可以找到那个DLL。

    这个文件RsiOpcAuto.DLL位于c/programfiles/commonfiles/Rockwell中,只要你有许可证的rslinx oem或专业(网关)版本2.54或更低。

    你找到这个问题的答案了吗?