Converting Dword 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.15

Converting DWORD to TIME

DWORD_TO_TIME
This function converts a value from DWORD data type to TIME data type.
Structured text
d:=DWORD_TO_TIME(s);
Setting data
■Description, type, data type
Argument
s (IN)
d
Processing details
■Operation processing
• This function converts the value input to (s) from DWORD data type to TIME data type, and output the converted value from
(d).
(s)
0
1234567
DWORD
• Input a DWORD 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
140
12.15 Converting DWORD to TIME
Description
Input
Output
T#0ms
T#20m34s567ms
TIME
(d)
Type
Data type
Input variable
DWORD
Output variable
TIME

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents