Author Topic: EthernetIPforCLXCom UDT Support  (Read 1726 times)

Jay

  • Newbie
  • *
  • Posts: 1
    • View Profile
EthernetIPforCLXCom UDT Support
« on: June 03, 2015, 09:26:04 AM »
I have run into an issue with a UDT that i created in the control logix processor.  The string size had been modified to be 32 char and is part of a large structure.
From what I have been able to see the program does not query the processor for structure types and sizes and therefore only supports Atomic data types.

Do you plan to add support for this in the future?

for now I added the handle id to the ExtractData and GetByteCount to allow it to process the data correctly.

I assume this is also the root of the write data problem I have now with same structure.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: EthernetIPforCLXCom UDT Support
« Reply #1 on: June 03, 2015, 10:36:04 AM »
The driver does only support Atomic types (with the exception of default length strings). There are no plans any time soon to add support for reading/writing complete UDT structures. The individual elements have to be read with separate reads.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: EthernetIPforCLXCom UDT Support
« Reply #2 on: June 03, 2015, 10:37:23 AM »
I assume this is also the root of the write data problem I have now with same structure.
This may be from another issue recently found. There was some left over debugging code in Version 3.98m. A new version will be posted soon to resolve this.