Converting Word To Time - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Motion module instructions, standard functions/ function blocks
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents