Operational Data - Mitsubishi Electric Q172CPU Programming Manual

Melsecq series motion controller sv43
Hide thumbs Also See for Q172CPU:
Table of Contents

Advertisement

7 MOTION PROGRAMS FOR POSITIONING CONTROL

7.11.3 Operational data

No.
Operation result
1
2
#n
No conversion
3
4
#n (16 bit)
#nL, #n:L
No conversion
32-bit data is converted into 16-bit
5
Error occurs if
data.
conversion result
Error occurs if conversion result
exceeds 16-bit
exceeds 16-bit range.
range.
(Error : 531)
(Error: 531)
6
7
#nF, #n:F
64-bit data is converted into 16-bit
data.
8
Fractional portion is dropped
during conversion.
Error occurs if conversion result
exceeds 16-bit range.
9
(Error : 531)
(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]
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.
Data 1
(16 bit)
(32 bit)
(64 bit)
Operator indicates +, -, *, / or MOD
#n
(16 bit)
No conversion
#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)
#n
(16 bit)
No conversion
#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)
#n
(16 bit)
No conversion
#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)
n : Indicates variable number or device number
7 - 31
Data 2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q173cpuQ172cpunQ173cpun

Table of Contents