Table of Contents

LTOD_TO_TOD

Function name

LTOD_TO_TOD

ST call

PROGRAM LTOD_TO_TOD_DEMO
    VAR
        LTOD1: LTOD;
        TOD1: TOD;
    END_VAR
 
    TOD1:=LTOD_TO_TOD(LTOD1);
END_PROGRAM

Description

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

Inputs

InputTypeDescription
IN1 LTODInput value

Outputy

OutputTypeDescription
TOD Output value

Application example