6.2 Arithmetic Operation Instructions
6.2.7 4-digit BCD data multiplication and division
6-37
6
BA
S
IC
INSTRUCTIONS
B*
, B/
B*, B/
6.2.7
4-digit BCD data multiplication and division
B*, B/
F
unct
i
on
B*(P)
(1) Multiplies BCD data specified for
and BCD data specified for
, and stores the result to
the variable specified for
.
(2) Values can be specified between 0 and 9999 (4-digit BCD) for
and
.
B*(P)
B/(P)
P: Executing condition
:
indicates any of the following
instructions.
B*
B*P
B/
B/P
Input argument,
EN:
Executing condition
: Bit
s1:
Multiplicand or dividend data, or start number of the device
that stores multiplicand or dividend data
: ANY16
s2:
Multiplier or divisor data, or start number of the device that
stores multiplier or divisor data
: ANY16
Output argument,
ENO:
Execution result
: Bit
d:
Operation result
: Array of ANY16/32 (0..1)
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
K, H
Others
Bit
Word
Bit
Word
−
−
−
−
U
n
i
versa
l
UD
Hi
g
h
Per
f
ormance
Structured ladder
ST
B
*
EN
ENO
s
1
d
s
2
Not su
pp
orted
s
1
s
2
d
s
1
s
2
d
4
0
9
7
8
0
7
6
6
5
7
8
9
3
2
8
s
1
s
2
d
s
1
s
2
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......