Display Unsigned INT64 Values

Anonymous
Anonymous

Toolbox Template

Version
5.xx 6.xx 7.xx

Requirements
CitectSCADA

Description
Citect is only designed to read up to 32 bit numeric values from a PLC or other device. So, a 64-bit unsigned integer value would have to be read as two signed LONG integers. The attached Cicode function combines the two registers, calculates the 64-bit value, and returns it as a string so it can be used or displayed. Optionally, it can insert commas every 3 digits to make it more readable.

Author
Eric Black

Submitter
Eric Black

Attachments