Operands, Constants, Bool constants – Lenze PLC Designer PLC Designer (R3-1) User Manual
Page 1094: Time constants, Operands 2, Constants 2, L-force | plc designer

L-force | PLC Designer
Programming Reference
1092
DMS 4.1 EN 03/2011 TD29
16.4
Operands
The following can be used as an operand:
• Constant (BOOL, TIME, DATE, TIME_OF_DAY, DATE_AND_TIME, number,
REAL/LREAL, STRING, Typed Literals)
• Variable
• Address
• Function
16.4.1
Constants
BOOL Constants
BOOL constants are the logical values TRUE and FALSE.
See also: Data type BOOL
TIME Constants
TIME constants are generally used to operate the standard timer modules. Besides the
time constant TIME, which is of size 32 Bit and matching the IEC 61131-3 standard,
LTIME is supported as an extension to the standard as time base for high resolution
timers. LTIME is of size 64 Bit and resolution nanoseconds.
Syntax for TIME constant:
t#<time declaration>
Instead of "t#" also the following can be used: "T#", "time", "TIME".
The time declaration can include the following time units. These must be used in the
following sequence, but it is not required to use all of them.
"d": days
"h": hours
"m": minutes
"s": seconds
"ms": milliseconds