16-Bit Bin Data Multiplication And Division - Mitsubishi MELSEC-Q Series Programming Manual

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

Advertisement

6.2.3

16-bit BIN data multiplication and division

*(P)
/(P)
Structured ladder
*
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
*(P)
(1) Multiplies 16-bit BIN data specified for
the result to the variable specified for
(2) Values can be specified between
(3) Judgments whether
most significant bit (b15 for
• 0: Positive
• 1: Negative
P: Executing condition
ST
Not supported
Internal device
R ZR
Bit
Word
Bit
s1
b15
b0
b15
5678 (BIN)
1234 (BIN)
32768 and 32767 (BIN 16 bits) for
,
, and
are positive or negative are made on the basis of the
s1
s2
d
and
s1
s2
6.2.3 16-bit BIN data multiplication and division
instructions.
*
/
: Bit
: ANY16
: ANY16
: Bit
: Array of ANY16/32 (0..1)
J
\
U
\G
Word
and 16-bit BIN data specified for
s1
.
d
s2
d
b0
b31
b16 b15
7006652 (BIN)
, and b31 for
).
d
6.2 Arithmetic Operation Instructions
*, /
*, /
High
Universal
Performance
UD
:
indicates any of the following
*P
/P
Constant
Zn
Others
K, H
, and stores
s2
b0
and
.
s2
s1
6-27
6

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qcpu

Table of Contents