Table of Contents

LTOD_TO_DT

Function name

LTOD_TO_DT

ST call

PROGRAM LTOD_TO_DT_DEMO
    VAR
        LTOD1: LTOD;
        DT1: DT;
    END_VAR
 
    DT1:=LTOD_TO_DT(LTOD1);
END_PROGRAM

Description

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

Inputs

InputTypeDescription
IN1 LTODInput value

Outputy

OutputTypeDescription
DT Output value

Application example