PLC

LTIME

You can use the data type LTIME as a time base for high-resolution timers. A high-resolution timer has a resolution in nanoseconds.

Data type
Lower bound
Upper bound
Memory space
LTIME
0
213503d23h34m33s709ms551us615ns
64 bit

Syntax: LTIME#<time declaration>

The time declaration can contain the time units that apply to the TIME constant, and in addition:

µs : Microseconds
ns : Nanoseconds

Example:

LTIME1 := LTIME#1000d15h23m12s34ms2us44ns

See also:

Time data types