.net RsiOPCAuto.dll。。。在哪里可以找到?
我需要与工厂机器进行接口,在我们的每个工厂,我们都使用RSLinx与该机器进行通信。据了解,从RSLinx读取数据相对容易:.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
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或更低。你找到这个问题的答案了吗?