Suffix LT (Symbolic)
- Last UpdatedJul 03, 2020
- 1 minute read
The suffix LT can be used with the LTime data type. When used without the suffix, LTime saves time as an integer, containing number of days (d), hours (h), minutes (m), seconds (s), milliseconds (ms), microseconds, (us), and nanoseconds (ns). See General data types for additional information about LTime.
The suffix LT converts the LTime data type into a 64-bit string defining the time.
Usage: LTime LT
For example: MyLTime LT
-
The suffix LT converts LTime into a 64-bit string (VT_BSTR) that stores the time in string format. Range is -106751d23h47m16s854ms775us808ns to 106751d23h47m16s854ms775us807ns
-
When used without the suffix LT, the SIDirect Communication Driver reads LTime from the PLC as an integer (VT_I8). Range is -9223372036854775808 to +9223372036854775807