LGF_TimeToString (FC / V3.0.1)

Overview

Author: Siemens Digital Industry

Short description

This function converts a variable of the system data type Time into a variable of the data type String.

Block Interface

LGF_TimeToString (FC)
Time  timeValue Ret_Val  String
    
   stringDay  String
    
   stringHour  String
    
   stringMinute  String
    
   stringSecond  String
    
   stringMilliSecond  String
    
   

Input parameter

IdentifierData type Description
timeValueTime Time value to convert
Example: `T#1D_3H_45M_6S`

Output parameter

IdentifierData type Description
Ret_ValString Converted time as string.
Example: `1D3H45M6S0MS`
stringDayString Converted day as string
stringHourString Converted hour as string
stringMinuteString Converted minute as string
stringSecondString Converted second as string
stringMilliSecondString Converted millisecond as string

Change log

Version & DateChange description
01.00.00Siemens Industry Online Support
03.07.2018First released version
01.00.01Siemens Industry Online Support
17.08.2018Upgrade: TIA V15 Update 2
01.00.02Siemens Industry Online Support
23.11.2018Upgrade: TIA V15.1
01.00.03Simatic Systems Support
02.07.2019Standard header and block parameters update, status parameter added
01.00.05Simatic Systems Support
09.07.2019Further improvements minimization and commends added
01.00.06Simatic Systems Support
30.07.2019Add ENO handling
03.00.00Simatic Systems Support
23.04.2020Set version to V3.0.0
Harmonize the version of the whole library
03.00.01Simatic Systems Support
23.02.2021Insert documentation