Converting Time To Dint - 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.40

Converting TIME to DINT

TIME_TO_DINT
This function converts a value from TIME data type to DINT data type.
Structured text
d:=TIME_TO_DINT(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 TIME data type to DINT data type, and output the converted value from
(d).
(s)
T#20m34s567ms
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.
(d)
1234567
DINT
Type
Data type
Input variable
TIME
Output variable
DINT
12 TYPE CONVERSION FUNCTIONS
12.40 Converting TIME to DINT
12
165

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents