Table of Contents

DT_TO_LDT

Function name

DT_TO_LDT

ST call

PROGRAM DT_TO_LDT_DEMO
    VAR
        DT1: DT;
        LDT1: LDT;
    END_VAR
 
    LDT1:=DT_TO_LDT(DT1);
END_PROGRAM

Description

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

Inputs

InputTypeDescription
IN1 DT Input value

Outputy

OutputTypeDescription
LDT Output value

Application example