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:
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!
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!