Table of Contents

LTOD_TO_LDT

Function name

LTOD_TO_LDT

ST call

PROGRAM LTOD_TO_LDT_DEMO
    VAR
        LTOD1: LTOD;
        LDT1: LDT;
    END_VAR
 
    LDT1:=LTOD_TO_LDT(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
LDT Output value

Application example