Suffix LDT (Symbolic)
- Last UpdatedJul 03, 2020
- 1 minute read
The suffix LDT can be used with the LDT data type. The LDT data type, when used without the suffix LDT, saves the date as an unsigned integer. See General data types for additional information about LDT.
The suffix LDT converts the LDT data type into a string.
Usage: LDT LDT
For example: MyLDT LDT
-
The suffix LDT converts the LDT data type into a 12-byte string (VT_BSTR) that stores the date and time in string format. Range is 1970-01-01-0:0:0.000000000 to 2263-04-11-23:47:16.854775808. The construction is the number of nanoseconds since 1/1/1970 0:0.
-
When used without the suffix LDT, the SIDirect Communication Driver reads data type LDT from the PLC as an unsigned integer (VT_UI8). Range is 0 to 18446744073709551615 (nanoseconds)