Table of Contents

TIME_TO_LTIME

Function name

TIME_TO_LTIME

ST call

PROGRAM TIME_TO_LTIME_DEMO
  VAR
           LTIME1: LTIME; 
     TIME1: TIME;
  END_VAR
    LTIME1:=TIME_TO_LTIME(TIME1);
END_PROGRAM

Description

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

Inputs

InputTypeDescription
in1 TIMEInput value

Outputy

OutputType Description
LTIMEOutput value

Application example