This function converts a variable of the system data type Time
into a variable of the data type String
.
LGF_TimeToString (FC) | ||||||||
---|---|---|---|---|---|---|---|---|
Time | timeValue | Ret_Val | String | |||||
stringDay | String | |||||||
stringHour | String | |||||||
stringMinute | String | |||||||
stringSecond | String | |||||||
stringMilliSecond | String | |||||||
Identifier | Data type | Description |
---|---|---|
timeValue | Time | Time value to convert Example: `T#1D_3H_45M_6S` |
Identifier | Data type | Description |
---|---|---|
Ret_Val | String | Converted time as string. Example: `1D3H45M6S0MS` |
stringDay | String | Converted day as string |
stringHour | String | Converted hour as string |
stringMinute | String | Converted minute as string |
stringSecond | String | Converted second as string |
stringMilliSecond | String | Converted millisecond as string |
Version & Date | Change description | |
---|---|---|
01.00.00 | Siemens Industry Online Support | |
03.07.2018 | First released version | |
01.00.01 | Siemens Industry Online Support | |
17.08.2018 | Upgrade: TIA V15 Update 2 | |
01.00.02 | Siemens Industry Online Support | |
23.11.2018 | Upgrade: TIA V15.1 | |
01.00.03 | Simatic Systems Support | |
02.07.2019 | Standard header and block parameters update, status parameter added | |
01.00.05 | Simatic Systems Support | |
09.07.2019 | Further improvements minimization and commends added | |
01.00.06 | Simatic Systems Support | |
30.07.2019 | Add ENO handling | |
03.00.00 | Simatic Systems Support | |
23.04.2020 | Set version to V3.0.0 Harmonize the version of the whole library | |
03.00.01 | Simatic Systems Support | |
23.02.2021 | Insert documentation |