1
Open Discussion / Re: VB.NET DataReceived Not Working CLX Driver
« on: March 21, 2018, 01:25:47 PM »
Thanks Archie and Godra for your fast replies. After I rebooted my computer the problem fixed itself. But now I am having other problems. When I try to use
mystrng = Me.EthernetIPforCLXCom1.Read("AndOnBoard_Excel_REAL[2]") to read I keep getting the following error.
MfgControl.AdvancedHMI.Drivers.Common.PLCDriverException
HResult=0x80131500
Message=Read Failed. Path Segment Error (Invalid Tag Name), Status Code=4
The IP is correct and the tag is a controller tag. What is going on?
If I Dim myplc As New EthernetIPforCLXCom
myplc.IPAddress = "192.168.1.8"
and then mystrng = myplc.Read("AndOnBoard_Excel_REAL[2]") it works??
mystrng = Me.EthernetIPforCLXCom1.Read("AndOnBoard_Excel_REAL[2]") to read I keep getting the following error.
MfgControl.AdvancedHMI.Drivers.Common.PLCDriverException
HResult=0x80131500
Message=Read Failed. Path Segment Error (Invalid Tag Name), Status Code=4
The IP is correct and the tag is a controller tag. What is going on?
If I Dim myplc As New EthernetIPforCLXCom
myplc.IPAddress = "192.168.1.8"
and then mystrng = myplc.Read("AndOnBoard_Excel_REAL[2]") it works??