Table of Contents

LTIME_TO_TIME

Function name

LTIME_TO_TIME

ST call

PROGRAM LTIME_TO_TIME_DEMO
  VAR
           LTIME1: LTIME; 
     TIME1: TIME;
  END_VAR
    TIME1:=LTIME_TO_TIME(LTIME1);
END_PROGRAM

Description

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

Inputs

InputType Description
in1 LTIMEInput value

Outputy

OutputTypeDescription
TIMEOutput value

Application example