Mitsubishi Electric Q172CPU Programming Manual page 295

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

Advertisement

7 MOTION PROGRAMS FOR POSITIONING CONTROL
No.
Operation result
1
#n
2
No conversion
3
4
#nL, #n:L
#n
(16 bit)
32-bit data is converted into 16-bit
No conversion
data.
5
Error occurs if conversion result
exceeds 16-bit range.
(Error : 531)
6
7
#nF, #n:F
8
Operation cannot be performed.
9
10
#n
16-bit data is converted into 32-bit
11
data.
12
13
#nL, #n:L
(32 bit)
#nL, #n:L
(32 bit)
14
No conversion
No conversion
15
16
#nF, #n:F
17
Operation cannot be performed.
18
(2) Logical operations (AND, OR, XOR, NOT), shift operators (<<, >>)
• For AND, OR, XOR, <<, >>
The data type combinations and conversion methods for logical operations
(AND, OR, XOR) and shift operators (<<, >>) are shown below.
Operation result = [Data 1] operator [Data 2]
For logical and shift operations, operation including the 64-bit floating-point type
cannot be performed. (Error "560 : format error")
Data 1
(16 bit)
(32 bit)
(64 bit)
(16 bit)
(32 bit)
(64 bit)
Operator indicates AND, OR, XOR, << or >>
Data 2
#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)
Operation cannot be performed.
#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)
Operation cannot be performed.
#n
(16 bit)
Operation cannot be performed.
#nL, #n:L
(32 bit)
Operation cannot be performed.
#nF, #n:F
(64 bit)
Operation cannot be performed.
#n
(16 bit)
16-bit data is converted into 32-bit data.
#nL, #n:L
(32 bit)
No conversion
#nF, #n:F
(64 bit)
Operation cannot be performed.
#n (16 bit)
16-bit data is converted into 32-bit data.
#nL, #n:L
(32 bit)
No conversion
#nF, #n: F
(64 bit)
Operation cannot be performed.
#n
(16 bit)
Operation cannot be performed.
#nL, #n:L
(32 bit)
Operation cannot be performed.
#nF, #n:F
(64 bit)
Operation cannot be performed.
n : Indicates variable number or device number
7 - 34
Remarks
Operation disabled
Operation disabled
Operation disabled
Operation disabled
Operation disabled
Operation disabled
Operation disabled
Operation disabled
Operation disabled
Operation disabled

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q173cpuQ172cpunQ173cpun

Table of Contents