EasyManua.ls Logo

Mitsubishi Electric Q172CPUN - Operational Data

Mitsubishi Electric Q172CPUN
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 - 31
7 MOTION PROGRAMS FOR POSITIONING CONTROL
7.11.3 Operational data
(1) Four fundamental operations (+, -, *, /, MOD)
The data type combinations and conversion methods for four fundamental
operations (+, -, *, /, MOD) are shown below.
Operation result = [Data 1] operator [Data 2]
Operator indicates +, -, *, / or MOD
Internal operation is performed after conversion into the type of the operation
result. If there is no operation result such as a conditional expression, internal
operation is performed with 32-bit data. For MOD, however, if the operation result
type is 64-bit data with floating point, internal operation is performed with 32-bit
data, which is then converted into the operation result type and stored.
No. Operation result Data 1 Data 2
1
#n (16 bit)
No conversion
2
#nL, #n:L (32 bit)
32-bit data is converted into 16-bit data.
Error occurs if conversion result exceeds 16-bit range.
(Error : 531)
3
#n (16 bit)
No conversion
#nF, #n:F (64 bit)
64-bit data is converted into 16-bit data.
Fractional portion is dropped during conversion.
Error occurs if conversion result exceeds 16-bit range.
(Error : 531)
4
#n (16 bit)
No conversion
5
#nL, #n:L (32 bit)
32-bit data is converted into 16-bit data.
Error occurs if conversion result exceeds 16-bit range.
(Error : 531)
6
#nL, #n:L (32 bit)
32-bit data is converted into 16-bit
data.
Error occurs if conversion result
exceeds 16-bit range.
(Error : 531)
#nF, #n:F (64 bit)
64-bit data is converted into 16-bit data.
Fractional portion is dropped during conversion.
Error occurs if conversion result exceeds 16-bit range.
(Error : 531)
7
#n (16 bit)
No conversion
8
#nL, #n:L (32 bit)
32-bit data is converted into 16-bit data.
Error occurs if conversion result exceeds 16-bit range.
(Error : 531)
9
#n (16 bit)
No conversion
Error occurs if
conversion result
exceeds 16-bit
range.
(Error: 531)
#nF, #n:F (64 bit)
64-bit data is converted into 16-bit
data.
Fractional portion is dropped
during conversion.
Error occurs if conversion result
exceeds 16-bit range.
(Error : 531)
#nF, #n:F (64 bit)
64-bit data is converted into 16-bit data.
Fractional portion is dropped during conversion.
Error occurs if conversion result exceeds 16-bit range.
(Error : 531)
n : Indicates variable number or device number

Table of Contents

Other manuals for Mitsubishi Electric Q172CPUN

Related product manuals