Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Noobula

Pages: [1]
1
When trying to connect to RSLinx Remote OPC Server, the vb2010 debugger points to dll.connect and gives this error message

CoCreateInstanceEx: Access is denied.

Source:  opcnetapi.dll         Err code: -2147467259
I think the err code translate to 0x80004005 = Unspecified error

This is what I entered for the opcDACom.vb:
where OPCServer = RSLinx Remote OPC Server


 Private Sub CreateDLLInstance()
        If DLL Is Nothing Then
            DLL = New Opc.Da.Server(fact, Nothing)
            DLL.Url = New Opc.URL("opcda://192.168.0.1/" & m_OPCServer)
            'DLL.Connect(DLL.Url, New Opc.ConnectData(New System.Net.NetworkCredential()))
            DLL.Connect()

            '* Give time to startup
            Threading.Thread.Sleep(2000)
        End If
  End Sub


When using Rockwell's RSLinx OPC Tester, I am able to connect to the remote opc server at 192.168.0.1 and read the items that I want. Is this because the OPC Tester have the correct DCOM permission and the Debug version of the Advanced HMI exe does not?

Is this entirely a DCOM permission problem, and if so how do I troubleshoot?

Regards,
Noob

2
Support Questions / Re: Support for PLC5?
« on: May 22, 2014, 01:25:18 PM »
In RSLinx, the processor is found under Ethernet, but its type is CSPv4 instead of EtherNet/IP.

Would the EthernetIPforPLCSLCMicro driver still work if I changed the port to 2222?

CSPv4 is a proprietary protocol isn't it?...

3
Support Questions / Re: Support for PLC5?
« on: May 22, 2014, 10:26:13 AM »
I am trying to use the EthernetIPforPLCSLCMicro driver to communicate with a PLC 5/40E
(looks like this:)
http://www.automation-drive.com/EX/05-13-03/1785l40e.jpeg

I can ping and get a responds from the target IP.
In VB, I just have to give the driver an IP right?

The Ethernet driver have a ConnectionEstablished event, I used a BasicIndicator to show if communication works, but this BasicIndicator says "Could Not Connect to 192.168.200.26 on port 44818"

Am I right to assume that the E in PLC 5/40E means it supports the Ethernet/IP protocol?

Pages: [1]