LGF_StringToTime (FC / V3.0.1)


Author: Siemens Digital Industry

Short description

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

Block Interface

LGF_StringToTime (FC)
String  timeValue Ret_Val  Time
    
   

Input parameter

IdentifierData typeDescription
timeValueStringTime to be converted as string
Example: `1D3H45M6S0MS`

Output parameter

IdentifierData typeDescription
Ret_ValTimeConverted time value
Example: `T#1D_3H_45M_6S`

Change log

Version & DateChange description
01.00.00Simatic Systems Support
02.07.2019First released version
01.00.01Simatic Systems Support
09.07.2019Further improvements and code optimization
01.00.02Simatic 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