4-Digit Bcd Data Multiplication And Division - Mitsubishi MELSEC-Q Series Programming Manual

Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

6.2.7

4-digit BCD data multiplication and division

B*(P)
B/(P)
Structured ladder
B*
EN
ENO
s1
d
s2
Input argument,
EN:
Executing condition
s1:
Multiplicand or dividend data, or start number of the device
that stores multiplicand or dividend data
s2:
Multiplier or divisor data, or start number of the device that
stores multiplier or divisor data
Output argument,
ENO:
Execution result
d:
Operation result
Setting
data
s1
s2
d
Function
B*(P)
(1) Multiplies BCD data specified for
the variable specified for
5
6
(2) Values can be specified between 0 and 9999 (4-digit BCD) for
P: Executing condition
ST
Not supported
Internal device
R, ZR
Bit
Word
Bit
and BCD data specified for
s1
.
d
s1
s2
7
8
0
8
7
6.2.7 4-digit BCD data multiplication and division
instructions.
B*
B/
: Bit
: ANY16
: ANY16
: Bit
: Array of ANY16/32 (0..1)
J
\
U
\G
Word
d
6
0
4
9
7
3
s1
6.2 Arithmetic Operation Instructions
B*, B/
B*, B/
High
Universal
Performance
UD
:
indicates any of the following
B*P
B/P
Constant
Zn
Others
K, H
, and stores the result to
s2
9
2
8
and
.
s2
6-37
6

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qcpu

Table of Contents