Documentation

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

Input Type Description
IN1 DT Input value

Outputy

Output Type Description
=> LDT Output value

Application example