Mitsubishi Electric M800VW Series Programming Manual page 205

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
8 Function Instructions
8.2 Arithmetic Operation Instructions
D*, D*P, D/, D/P: BIN 32-bit multiplication and division operations
Setting
Bit devices
data
X
Y
M
L
F
S1
S2
D
△ : S1 and S2 cannot be specified as constant at the same time.
[Instruction symbol] [Execution condition]
D*, D/
D*P, D/P
 Setting data
Setting data
Data to be added to or subtracted from, or the first number of the device storing
S1
such data
Addition or subtraction data, or first number of device storing addition or subtraction
S2
data
D
The head number of device to store the result of multiplication or division
 Functions
D*
 Multiplies BIN 32-bit data designated by (S1) and BIN 32-bit data designated by (S2), and stores the multiplication result in
the device designated by (D).
S1+1
S1
b31
b16
b15
b0
567890 (BIN)
 The values for (S1) and (S2) can be designated between -2147483648 and 2147483647 (BIN 32 bits).
 Judgment whether values for (S1), (S2), and (D) are positive or negative are made on the basis of the most significant bit
(b31 for (S1) and (S2), and b63 for (D)).
b31/b63
Judgment (+/-)
0
Positive
1
Negative
IB-1501667-B
Usable devices
B SB
T SM V
T
C
Command
Command
Meaning
S2+1
S2
b31
b16
b15
b0
123456 (BIN)
Word devices
D
R/ZR W SW SD
Z
D+3
D+2
D+1
b63
b48
b47
b32
b31
b16
70109427840 (BIN)
184
Digit
Con-
Pointer
designa-
Index
stant
tion
K
H
P
indicates the signs D* / D/
S1 S2
D
P
S1 S2
D
Data type
BIN 32 bits
D
b15
b0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents