Suffix TOD (Symbolic)
- Last UpdatedJul 03, 2020
- 1 minute read
The suffix TOD can be used with the Time_Of_Day data type. When used without the suffix TOD, the SIDirect Communication Driver reads the 4-byte time from the S7-1500 PLC. See General data types for additional information about Time_Of_Day.
The suffix TOD converts Time_Of_Day to a string.
Usage: Time_Of_Day TOD
For example: MyTime_Of_Day TOD
-
The suffix TOD converts Time_Of_Day to a string (VT_BSTR) that stores the time as a value in the range of 0:00:00.000 to 23:59:59.999.
-
When used without the suffix TOD, the SIDirect Communication Driver reads Time_Of_Day from the PLC as an unsigned 4-byte integer (VT_UI2) with a range of 0 to 4294967295 (milliseconds).