EasyManua.ls Logo

Mitsubishi MELSEC-A series

Mitsubishi MELSEC-A series
508 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6. BASIC INSTRUCTIONS
6 19
MELSEC-A
6.2.4 BIN 32-bit multiplication, division
(D*, D*P, D/, D/P)
Available Device
Bit device Word (16-bit) device Constant Pointer
Level
Carry
flag
Error
flag
X Y M L S B F T C D W R A0 A1 Z V K H P I N
Digit specification
Index
M9012 (M9010, M9011)
(S1) O O O O O O O O O O O O O O O O
(S2) O O O O O O O O O O O O O O O O
(D) O O O O O O O O O O O
K1
to
K8
O O
Functions D*
(1) Performs the multiplication of BIN data specified at (S1) and the BIN data
speci-fied at (S2), and stores the multiplication result into the device specified at
(D).
(2) When (D) is a bit device, up to the lower 32 bits can be specified and the upper
32 bits cannot be specified.
Example
K1: Lower 4 bits (b0 to 3)
K4: Lower 16 bits (b0 to 15)
K8: 32 bits (b0 to 31)
When the upper 32-bit data of multiplication result is required for the bit device,
store the data to the word device and then transfer the data ((D)+2) and ((D)+3)
of word device to the specified bit device.
Applicable
CPU
All CPUs
(S1)
Multiplicand/dividend or
head device number
storing multiplier/dividend
(S2)
Multiplicand/divider or
head device number
storing multiplier/divider
(D)
Head device number
which will store the
result
Setting data
D*, D/
Indicates the instruction symbol.
Multiplication/division commands
(S1)
(S2)
(D)
(D)
(S2)
(S1)
P

Table of Contents

Other manuals for Mitsubishi MELSEC-A series

Related product manuals