12.10
Converting WORD to TIME
WORD_TO_TIME
This function converts a value from WORD data type to TIME data type.
Structured text
d:=WORD_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 WORD data type to TIME data type, and output the converted value from
(d).
(s)
0
1234
WORD
• Input a WORD 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#0ms
T#1s234ms
TIME
Type
Data type
Input variable
WORD
Output variable
TIME
12 TYPE CONVERSION FUNCTIONS
12.10 Converting WORD to TIME
12
135