Author Topic: GetTagList() suggestion for future enhancement  (Read 1099 times)

sramirez

  • Newbie
  • *
  • Posts: 18
    • View Profile
GetTagList() suggestion for future enhancement
« on: December 21, 2022, 10:02:03 AM »
I have tried to use the AdvancedHMIDrivers.EthernetIPforCLXCom  .GetTagList() on a number of PLCs we have.  It works on some but others fail due to a timeout.  If I set the timeout on a few of the PLCs to a ridiculous amount it still times out.  Those PLCs have a very large amount of tags.

I would like to suggest a new option where the base tag that you want to look at is passed as a parameter and it only looks within that tag.  We have a lot of tags that are UDTs with child lists and UDTs, so in my case it would make sense I believe.

I figured it wouldn't hurt to put it out there.  Maybe you already have something like this.

Thanks,
Shawn R

bachphi

  • Hero Member
  • *****
  • Posts: 674
    • View Profile
Re: GetTagList() suggestion for future enhancement
« Reply #1 on: December 22, 2022, 09:25:47 AM »
Have you tried the latest version?
 also

try connecting directly with PLC.

I know I tried some 20MB program with lots of UDT and it took quite a few minutes to get it.
===================================================
This is NOT alt.read.my.mind.
No such thing is sh^t-for-brains unless you are posting to alt.read.my.mind.
===================================================

sramirez

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: GetTagList() suggestion for future enhancement
« Reply #2 on: January 25, 2023, 04:23:18 PM »
bachphi,

I don't understand what you mean by "try connecting directly with PLC". 

Could you point me in the right direction? 

Currently I am doing this:
       Dim EthernetIPforCLXCom1 As New AdvancedHMIDrivers.EthernetIPforCLXCom

        With EthernetIPforCLXCom1
            .IPAddress = "192.168.1.9"
            .PollRateOverride = 1000
            .ProcessorSlot = 0
        End With

        Dim AllTags() As AdvancedHMI.Drivers.CLXTag = EthernetIPforCLXCom1.GetTagList

Thank you.

sramirez

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: GetTagList() suggestion for future enhancement
« Reply #3 on: January 26, 2023, 06:28:15 AM »
Never mind.  I am not sure what I was doing wrong before but the code in my post yesterday is working well now.

Thanks,
Shawn R