ABCLX LINT data type and complex tag structures

Hello,

We use the LINT (64bit INT) data type in our PLCs as a controller time stamp for high speed data logging in the PLC, We also use complex data structures to store the data in so it's a bit more meaningful for a person.

We would like to create a simple interface in Citect to read/plot that high speed data capture in an array structure (3000 in length at the moment), with out the need to create so many tags and to be able to use the PLCs timestamp info.

Any plans to add support for this in the near future for this driver?

Also, any advice on some workarounds would be greatly appreciated!

Thanks,

Chris

  • Hi ,
    Citect SCADA doesn't currently have a 64-bit INT, the biggest it has is LONG - 32-bit INT.
    See Data Types Citect currently supports in the online help:
    https://gcsresource.aveva.com/Citect/WebHelp/citect2018R2/Content/Tag_Data_Types.html
    I haven't seen any plans to add LINT data type support to the ABCLX driver. If it did, there would obviously be a data coercion and loss of accuracy/range.
    Out of interest, what happens if you try add this tag to your SCADA project? Does it return #BAD ?
    It is also difficult to support User Defined Type structures, due to limitations of Citect data types. So I don't see that changing in the near future without significant changes to the Citect I/O structure internally.
    I think your only option right now is to use an array of DINT or INT in the ABCLX driver and then pull out the individual elements of the array in your page or other tags, but I acknowledge this is not user friendly and could introduce error. You could also do some of the "heavy lifting" on the PLC side with data mapping to other data types, but it is work that needs to be done.
    Kind regards
    Olivier
  • There's a Cicode function in the Citect Toolbox to display unsigned 64-bit integers by reading them as 2 32-bit integers and converting them to a string:

    https://softwareforums.aveva.com/citect_community/cit-toolbox/f/187/t/23033

  • Olivier,

    Thanks for the reply.
    For the LINT data type, I could split it up into two DINTs in the PLC, pass to Citect as such. Or scale the number down to fit into a single DINT.

    As for custom data structures, since the PC, PLC and controller world supports the use of custom data types (structures), It would be really cool if Citect could too.

    Chris