EasyManua.ls Logo

Mitsubishi Electric Q172CPU - Page 299

Mitsubishi Electric Q172CPU
634 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 - 38
7 MOTION PROGRAMS FOR POSITIONING CONTROL
(5) Functions (SQRT, ABS, LN, EXP)
The data type combinations and conversion methods for functions (SQRT, ABS,
LN, EXP) are shown below.
Operation result = function [Data 1]
Function indicates SQRT, ABS, LN or EXP
Internal operation of SQRT, LN or EXP is performed with the 64-bit floating-point
type.
Internal operation of ABS is performed by making conversion into the operation
result type.
When there is operation in Data 1 for SQRT, operation is performed after
conversion into 64-bit data.
• For SQRT, LN, EXP
No. Operation result Data 1
1
#n (16 bit)
16-bit data is converted into 64-bit data.
2
#nL, #n:L (32 bit)
32-bit data is converted into 64-bit data.
3
#n (16 bit)
Internal operation result (64 bit) is converted into 16-bit
data.
Fractional portion is dropped during conversion.
Error occurs if operation result exceeds 16-bit range.
(Error : 531)
#nF, #n:F (64 bit)
No conversion
4
#n (16 bit)
16-bit data is converted into 64-bit data.
5
#nL, #n:L (32 bit)
32-bit data is converted into 64-bit data.
6
#nL, #n:L (32 bit)
Internal operation result (64 bit) is converted into 32-bit
data.
Fractional portion is dropped during conversion.
Error occurs if operation result exceeds 32-bit range.
(Error : 531)
#nF, #n:F (64 bit)
No conversion
7
#n (16 bit)
16-bit data is converted into 64-bit data.
8
#nL, #n:L (32 bit)
32-bit data is converted into 64-bit data.
9
#nF, #n:F (64 bit)
No conversion
#nF, #n:F (64 bit)
No conversion
n : Indicates variable number or device number

Table of Contents

Other manuals for Mitsubishi Electric Q172CPU

Related product manuals