Table of Contents

DT_TO_LTOD

Function name

DT_TO_LTOD

ST call

PROGRAM DT_TO_LTOD_DEMO
    VAR
        DT1: DT;
        LTOD1: LTOD;
    END_VAR
 
    LTOD1:=DT_TO_LTOD(DT1);
END_PROGRAM

Description

The function brings the input value to the output as a time in a day.

Inputs

InputTypeDescription
IN1 DT Input value

Outputy

OutputTypeDescription
LTODOutput value

Application example