# Mitsubishi Electric Q172CPU Programming Manual Page 297

Melsecq series motion controller sv43.

7 MOTION PROGRAMS FOR POSITIONING CONTROL
No.
Operation result
1
#n
(16 bit)
Internal operation result (64 bit) is multiplied by 10000
and result of multiplication is converted into16-bit data.
Fractional portion is dropped during conversion.
2
Error occurs if operation result exceeds 16-bit range.
(Error : 531)
3
4
#nL, #n:L
(32 bit)
Internal operation result (64 bit) is multiplied by 10000
and result of multiplication is converted into 32-bit data.
Fractional portion is dropped during conversion.
5
Error occurs if operation result exceeds 32-bit range.
(Error : 531)
6
7
#nF, #n:F
(64 bit)
8
Internal operation result (64 bit) is stored as it is.
9
(3) Trigonometric functions (SIN, COS, TAN, ASIN, ACOS, ATAN)
The data type combinations and conversion methods for trigonometric functions
(SIN, COS, TAN, ASIN, ACOS, ATAN) are shown below.
Operation result = trigonometric function [Data 1]
Internal operation is performed with the 64-bit floating-point type.
When there is operation in Data 1, operation is performed after conversion into
64-bit data.
Trigonometric function indicates SIN, COS, TAN,
ASIN, ACOS or ATAN
#n
(16 bit)
16-bit data is converted into 64-bit data.
Data is divided by 10000 during conversion.
#nL, #n:L
(32 bit)
32-bit data is converted into 64-bit data.
Data is divided by 10000 during conversion.
#nF, #n:F
(64 bit)
Data is divided by 10000 during conversion.
#n
(16 bit)
16-bit data is converted into 64-bit data.
Data is divided by 10000 during conversion.
#nL, #n:L
(32 bit)
32-bit data is converted into 64-bit data.
Data is divided by 10000 during conversion.
#nF, #n:F
(64 bit)
Data is divided by 10000 during conversion.
#n
(16 bit)
16-bit data is converted into 64-bit data.
#nL, #n:L
(32 bit)
32-bit data is converted into 64-bit data.
#nF, #n:F
(64 bit)
No conversion
n : Indicates variable number or device number
7 - 36
Data 1

#### This manual is also suitable for:

Q173cpuQ172cpunQ173cpun