Mitsubishi Electronics Q173HCPU/Q172HCPU Work Light User Manual


 
6 - 37
6 MOTION PROGRAMS FOR POSITIONING CONTROL
(4) Floating-point type real number processing instructions (INT, FLT)
The data type combination and conversion method for floating-point type real
number processing instructions (INT, FLT)are shown below.
Operation result = function [Data 1]
Function indivates INT or FLT.
The floating-point type real number processing instructions (INT, FLT) can
operate the 32-bit type only.
The floating-point type real number processing instructions cannot operate data
other than the 32-bit type. (Error "560 : Format error")
INT and FLT cannot be used with other operations. (Error "560 : Format error")
No. Operation result Data 1
1
#nL, #n:L (32 bit)
<INT>
32-bit floating-point type is converted into 32-bit type.
Fractional portion is dropped during conversion.
Error occurs if operation result exceeds 32-bit range.
(Error : 531)
<FLT>
32-bit type is converted into 32-bit floating-point type.
#nL, #n:L (32 bit)
No conversion
n : Indicates variable number or device number