Attention
IronPLC implements many parts of the IEC 61131-3 standard and is working toward full Structured Text support. Key features still missing include structures and user defined function blocks.
LTIME¶
64-bit duration value representing an interval of time.
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) |
Example¶
Literals¶
LTIME#100ms
LTIME#5s
LTIME#1h30m
LTIME#500us
Components can be combined: days (d), hours (h), minutes (m),
seconds (s), milliseconds (ms), microseconds (us).