Bin 16-Bit Multiplication And Division Operations (*(P),/(P)) - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

*(P),/(P)
6.2.3

BIN 16-bit multiplication and division operations (*(P),/(P))

*(P),/(P)
*, /
*P, / P
Setting
Data
S1
S2
D
Function
*
(1) Multiplies BIN 16-bit data designated by
stores the result in the device designated by
(2) If
D
Example
(3) Values for
(4) Judgments whether
most significant bit (b15 for
• 0: Positive
• 1: Negative
6-30
Command
Command
: Data to be multiplied/divided or head number of the devices where the data to be multiplied/divided is stored
S1
(BIN 16 bits)
: Data for multiplying/dividing or head number of the devices where the data for multiplying/dividing is stored
S2
(BIN 16 bits)
: Head number of the devices where the multiplication/division operation result will be stored (BIN 32 bits)
D
Internal Devices
R, ZR
Bit
Word
S1
b15
b0
5678 (BIN)
is a bit device, designation is made from the lower bits.
K1.......... Lower 4 bits (b0 to b3)
K4.......... Lower 16 bits (b0 to b15)
K8.......... 32 bits (b0 to b31)
and
can be designated between
S1
S2
,
, and
S1
S2
, and
S1
High
Basic
performance
indicates an instruction symbol of *
S1
P
S1
J
\
U
\G
Bit
Word
and BIN 16-bit data designated by
S1
.
D
D
S2
b15
b0
b31
1234 (BIN)
7006652 (BIN)
32768 and 32767 (BIN, 16 bits).
are positive or negative are made on the basis of the
D
, for
and b31).
S2
D
Process
Redundant Universal
, /
D
S2
S2
D
Constants
Zn
K, H
––
, and
S2
D
b0
b16 b15
LCPU
.
Other
––
––
––

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents