Table of Contents

TOD_TO_LTOD

Function name

TOD_TO_LTOD

ST call

PROGRAM TOD_TO_LTOD_DEMO
    VAR
        TOD1: TOD;
        LTOD1: LTOD;
    END_VAR
 
    LTOD1:=TOD_TO_LTOD(TOD1);
END_PROGRAM

Description

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

Inputs

InputTypeDescription
IN1 TOD Input value

Outputy

OutputTypeDescription
LTODOutput value

Application example