LTIME_OF_DAY¶
64-bit time of day value.
Note
This feature requires IEC 61131-3 Edition 3. Use
--dialect iec61131-3-ed3 or the rusty dialect to enable it.
See Enabling Dialects and Features for details.
Size |
64 bits (millisecond resolution) |
Default |
|
IEC 61131-3 |
Section 2.3.1 (Edition 3) |
Support |
Supported (Edition 3) |
Literals¶
LTOD#14:30:00
LTIME_OF_DAY#08:00:00
LTOD#23:59:59.999
Example¶
shift_start := LTOD#08:00:00;
now := LTOD#09:30:00;
started := now > shift_start; (* started = TRUE *)
See Also¶
TIME_OF_DAY — 32-bit time of day
LDATE — 64-bit calendar date (Edition 3)
LDATE_AND_TIME — 64-bit date and time (Edition 3)
LTIME — 64-bit duration (Edition 3)