Documentation

DT_TO_LTOD

Function name

DT_TO_LTOD

ST call

PROGRAM DT_TO_LTOD_DEMO
	VAR
		DT1: DT;
		LTOD1: LTOD;
	END_VAR

	LTOD1:=DT_TO_LTOD(DT1);
END_PROGRAM

Description

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

Inputs

Input Type Description
IN1 DT Input value

Outputy

Output Type Description
=> LTOD Output value

Application example