Table of Contents

LDATE_TO_DT

Function name

LDATE_TO_DT

ST call

PROGRAM LDATE_TO_DT_DEMO
    VAR
        LDATE1: LDATE;
        DT1: DT;
    END_VAR
 
    DT1:=LDATE_TO_DT(LDATE1);
END_PROGRAM

Description

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

Inputs

InputType Description
IN1 LDATEInput value

Outputy

OutputTypeDescription
DT Output value

Application example