-

SPLIT_LTIME

Type Function
Description Splits a duration (LTIME) and returns the split values (ANY_INT) for day, hour, minute, second, millisecond, microsecond, and nanosecond at the outputs.
Function call Function call in ST

Function call in LD
Parameters Input

IN

Outputs

DAYS, HOURS, MINUTES, SECONDS, MILLISECONDS, MICROSECONDS, NANOSECONDS

Bool output
Error behavior An overflow occurs if a smaller datatype as expected is connected to one of the ANY_INT outputs, e.g., SINT datatype on MILLISECONDS output.
Additional information EN/ENO behavior