AdvancedHMI Software
General Category => Support Questions => Topic started by: PLCTech on January 24, 2019, 01:12:40 PM
-
I know this topic has been reviewed numerous times, but I am still having difficulty and can't seem to find an example that matches my case.
I am trying to read data directly from a CompactLogix PLC on our company network. I have tried the following path and all I get is "no response from PLC 10.20.110.39, slot =0". Could someone please shed some light on this?
I have the Ethernet IPforCLXCom configured as follows:
IPAddress 10.20.110.39
Processor slot 0
Route Path = 2,10.20.110.39,1,0
I have attached a screen shot of the RSLinx tree to show where the PLC lies. I want to pull data directly from teh CompactLogix PLC to the PC that is running the Advanced HMI program.
Tahank you in advance.
-
Leave the RoutePath blank and set ProcessorSlot to 0
IPAddreas to 10.20 110 139
-
I tried that in the beginning and it shows "Path Segment Error (Invalid Tag Name).
I am positive that I have the correct tag name.
I also take it that the IP Address you put in was a typo? My address is 10.20.110.39 and you had down 10.20 110 139
Thanks.
-
Is your tag a controller scope tag?
-
I also take it that the IP Address you put in was a typo? My address is 10.20.110.39 and you had down 10.20 110 139
That was a typo. That's what happens when I try to respond using a phone.
If you were getting the Invalid Tag name, then you are getting communications with the PLC. That is a reply that comes from the PLC when it does not like the tag name. This can happen is you try to access a program scope tag without the proper prefix or if the tag name is misspelled. I believe in some cases the tag can be restricted from external access.
-
Yes, that tag is in the controller scope.
-
- Open your form in Design view
- Double click in a blank area on the form
- Paste in this code:
Dim t() As MfgControl.AdvancedHMI.Drivers.CLXTag
t = EthernetIPforCLXCom1.GetTagList(60000)
Using sw As New System.IO.StreamWriter(".\TagList.txt")
For i = 0 To t.Length - 1
sw.WriteLine(t(i).TagName)
Next
End Using
- Run the application
- Close the application
- Browse to AdvancedHMI\bin\Debug
- Post the file TagList.txt on this forum
What is the name of the tag you are using in PLCAddressValue?
-
I hang my head in shame! It was the tag name, I had written it down wrong. Too much going on yesterday wasn't looking with clear eyes until this morning.
I appreciate all of your help. I may have more questions later as I am trying to use Advanced HMI as a data capture method to automate a downtime collection system that we use in plant.
Thank you again.