TIME¶
Duration value representing an interval of time.
Size |
32 bits (millisecond resolution) |
Default |
|
IEC 61131-3 |
Section 2.3.1 |
Support |
Supported |
Supported units: days (d), hours (h), minutes (m),
seconds (s), milliseconds (ms). Units are case-insensitive,
so T#5S and T#5s are equivalent. The prefix T# (or
TIME#) is likewise case-insensitive.
Literals¶
T#100ms
T#2s
T#-500ms
TIME#5S
Example¶
duration := T#2s;