====== TIME_TO_LTIME ====== {{:en:mervis-ide:35-help:time_to_ltime.png}} ===== 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 ===== |Input|Type|Description| |in1 |TIME|Input value| ===== Outputy ===== |Output|Type |Description | |=> |LTIME|Output value| ===== Application example ===== {{:en:mervis-ide:35-help:time_to_ltime_example.png}}