Author Topic: Tag Type in EthernetIPforCLXCom  (Read 2209 times)

Randy

  • Newbie
  • *
  • Posts: 23
    • View Profile
Tag Type in EthernetIPforCLXCom
« on: November 27, 2013, 06:18:02 PM »
Is it possible to query the tag type in the EthernetIPforCLXCom driver?
For example lets say I have a list of Analog tag names and I need to know if they are a DINT or REAL in the PLC.
Unfortunately many of the tags are part of a UDT, so the tag doesn't show up if I use GetTagList.  If they were not part of a UDT, GetTagList / AbbreviatedType would tell me what I want to know.  Ideally there would be a function that I could pass a single tag name and it would return the tag type.  Does such a function exist?

By the way, ver 3.61 is working really well, I haven't found any problems with it.  Good work.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Tag Type in EthernetIPforCLXCom
« Reply #1 on: November 27, 2013, 07:39:38 PM »
There is no way to get to it with the current version, but I did add a GetTagInformation function that will be available in the next release. The function works like GetTagList, but returns only a single element with all of the information. The tag type will be encoded as a hex number to represent the abbreviated type.

Randy

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Tag Type in EthernetIPforCLXCom
« Reply #2 on: November 27, 2013, 10:59:15 PM »
Great!  I will eagerly await the next version.