Documentation

DATE_TO_LDT

Function name

DATE_TO_LDT

ST call

PROGRAM DATE_TO_LDT_DEMO
VAR
DATE1: DATE;
LDT1: LDT;
END_VAR
LDT1:=DATE_TO_LDT(DATE1);
END_PROGRAM

Description

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

Inputs

Input Type Description
in1 DATE Input value

Outputy

Output Type Description
=> LDT Output value

Application example