TIME

Data type

Range

PLC types

Resolution

Initial value

TIME (16-bit)

T#-327.68sT#327.67s

supported only by FPM, FP1, FP3, FP5, FP10/10S

T#10ms

T#0

TIME (32-bit)

T#-21_474_836.48s T#21_474_836.47s

T#-248d13h13m56s480msT#248d13h13m56s470ms

supported by all PLC types except FPM, FP1, FP3, FP5, FP10/10S

NOTE
  • All PLC types support TIME (32-bit) with the exception of FPM, FP1, FP3, FP5, FP10/10S which support TIME (16-bit).

  • Duration data must be delimited on the left by the prefix T# or TIME#.

  • The units of duration literals can be separated by the character _.

  • Time units, e.g. seconds, milliseconds etc., can be represented in upper- or lower-case letters.

  • "Overflow" of the most significant unit of a duration literal is permitted, e.g. the notation T#25h_15m.

  • The least significant time unit can be written in REAL notation without an exponent.

Example

Description

Duration literals without separated character:

Duration literals with separated character _:

Short prefix

T#14ms
T#-14ms
T#14.7s
T#14.7m
T#14.7h
T#14.7d
t#25h15m
t#5d14h12m18s3.5ms
T#25h_15m
T#5d_14h_12m_18s_3.5ms

Long prefix

TIME#14s
TIME#-14s
time#14.7s
TIME#25h_15m
time#5d_14h_12m_18s_3.5ms

Modified on: 2019-12-10Feedback on this pagePanasonic hotline