Arithmetic Operation Instruction: Bin 32-Bit Multiplication/Division - Mitsubishi Electric A800 Programming Manual

800 series, plc function
Hide thumbs Also See for A800:
Table of Contents

Advertisement

3.27.5
Arithmetic operation instruction:
BIN 32-bit multiplication/division ... D*, D*P, D/, D/
P
Bit device
Word (16-bit) device
X
Y
M
S1
S2
D
Multiplication/division commands
Function
D*
• Executes multiplication of the BIN data specified with
D
device specified with
+1
S1
b31
b16 b15
567890 (BIN)
D
• When
is a bit device, specify from the lower bits.
Example
K1: Lower 4 bits (b0 to 3)
K4: Lower 16 bits (b0 to 15)
K8: Lower 32 bits (b0 to 31)
• -2147483648 to 2147483647 (BIN 32-bit) can be specified in
• Positive/negative judgment of the data is performed by the most significant bit (b31) for
(0: positive, 1: negative)
Applicable device
Constant
T
C
D
K
S1
+1
S1
S2
S2
b0
b31
b16 b15
123456 (BIN)
*
Digit
Level
specification
H
N
K1 to K8
Instruction symbol inside
D*, D/
Setting data
Start number of the multiplied/divided data or
the device in which the multiplied/divided data
S1
is stored
Start number of the multiplication/division data
or the device in which the multiplication/
S2
division data is stored
Start number of the device in which the
D
multiplication/division results are stored
and BIN data specified with
D
+3
D
+2
D
b0
b63 b48
b47 b32
b31 b16
70109427840 (BIN)
S2
S1
or
.
Basic instruction (32-bit)
Error flag
(SM0)
S2
, and stores the results in the
+1
D
b15
b0
S2
S1
and
, and (b63) for
Sequence program
3
D
.
163

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

F800

Table of Contents