TIME_OF_DAY¶
Time of day value.
Size |
32 bits (millisecond resolution) |
Default |
|
IEC 61131-3 |
Section 2.3.1 |
Support |
Supported |
Literals¶
TOD#14:30:00
TIME_OF_DAY#08:00:00
TOD#23:59:59.999
Example¶
shift_start := TOD#08:00:00;
now := TOD#09:30:00;
started := now > shift_start; (* started = TRUE *)
See Also¶
LTIME_OF_DAY — 64-bit time of day (Edition 3)
DATE — calendar date
DATE_AND_TIME — combined date and time
TIME — duration