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.


Topics - NicholasArbor

Pages: [1]
1
Support Questions / Read Failed. Path Destination Unknown, Status Code=5
« on: October 11, 2017, 11:47:51 PM »
As the title suggests, I keep getting the exception error "Read Failed. Path Destination Unknown,  Status Code=5" when attempting to read a tag from my PLC. The code is simple:

Code: [Select]
            var tagName = "inpHeartbeatRTA_Chroma19020_Bay4";
            var EIP = new EthernetIPforCLXCom();
            EIP.BeginInit();
            EIP.ComError += EIP_ComError;
            EIP.ConnectionEstablished += EIP_ConnectionEstablished;
            EIP.IPAddress = "192.168.129.2";
            EIP.EndInit();
           
            EIP.Read(tagName);

The weird thing is that I can read the same tag if I use the AdvancedHMI project by adding a comms driver and a control. After looking online for a few hours it appears Status Code 5 is usually the tag does not exist on the controller but I know this tag 100% exists. I'm out of ideas for debugging this issue, any help would be appreciated. Thanks!

Pages: [1]