5.1 Type Conversion Functions
5.1.31 String type
→
time type conversion
5-95
5
APPLICATION
FUNCTIONS
STR_TO_TIME(_E)
STR_TO_TIME(_E)
5.1.31 String type → time type conversion
STR_TO_TIME(_E)
Function
Operation processing
Converts string type data input to into time type data, and outputs the operation result
from .
STR_TO_TIME(_E)
_E: With EN/ENO
indicates any of the following
functions.
STR_TO_TIME STR_TO_ TIME _E
Input argument, EN:
Executing condition (TRUE: Execution, FALSE: Stop) :Bit
s:
Input :String
Output argument, ENO:
Output status (TRUE: Normal, FALSE: Error) :Bit
d:
Output :Time
Universal
UD
High
Performance
EN ENO
ds
STR_TO_TIME_E
(EN, s, d);ENO:=
Structured ladder
ST
STR_TO_TIME_E
s
d
String type
' 1234567'
'0'
Time type
20m34s567ms
0ms