12.22
Converting INT to TIME
INT_TO_TIME
This function converts a value from INT data type to TIME data type.
Structured text
d:=INT_TO_TIME(s);
Setting data
■Description, type, data type
Argument
Description
s (IN)
Input
d
Output
Processing details
■Operation processing
• This function converts the value input to (s) from INT data type to TIME data type, and output the converted value from (d).
(s)
32100
INT
• Input an INT data type value to (s).
■Operation result
The operation processing is performed. The operation result is output from (d).
Operation error
There is no operation error.
(d)
T#32s100ms
TIME
Type
Data type
Input variable
INT
Output variable
TIME
12 TYPE CONVERSION FUNCTIONS
12.22 Converting INT to TIME
12
147