Converting Time To Word - 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.37

Converting TIME to WORD

TIME_TO_WORD
This function converts a value from TIME data type to WORD data type.
Structured text
d:=TIME_TO_WORD(s);
Setting data
■Description, type, data type
Argument
s (IN)
d
Processing details
■Operation processing
• This function converts the value input to (s) from TIME data type to WORD data type, and output the converted value from
(d).
(s)
T#1s234ms
TIME
• Input a TIME 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.
12 TYPE CONVERSION FUNCTIONS
162
12.37 Converting TIME to WORD
Description
Input
Output
1234
WORD
(d)
Type
Data type
Input variable
TIME
Output variable
WORD

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents