Attention
IronPLC implements many parts of the IEC 61131-3 standard and is working toward full Structured Text support. Key features still missing include arrays and structures. Try it out in the IronPLC Playground.
TIME¶
Duration value representing an interval of time.
Size |
32 bits (millisecond resolution) |
Default |
|
IEC 61131-3 |
Section 2.3.1 |
Support |
Supported |
Example¶
Literals¶
T#100ms
T#2s
T#1h30m
T#5d12h30m15s
TIME#500us
Components can be combined: days (d), hours (h), minutes (m),
seconds (s), milliseconds (ms), microseconds (us).
See Also¶
TON — on-delay timer
TOF — off-delay timer
TP — pulse timer
DATE — calendar date
TIME_OF_DAY — time of day