Bcd 8-Digit Multiplication And Division Operations (Db , Db P, Db/, Db/P) - Mitsubishi MELSEC QCPU Programming Manual

Programmable logic controller
Table of Contents

Advertisement

6 BASIC INSTRUCTIONS
6.2.8 BCD 8-digit multiplication and division operations
(DB , DB P, DB/, DB/P)
Internal Devices
Set
(System, User)
Data
Bit
Word
S1
S2
D
[Instruction Symbol] [Execution Condition]
DB
, DB/
DB
P,DB/P
[Set Data]
Set Data
S1
S2
D
[Functions]
DB
(1) Multiplies the BCD 8-digit data designated by
and stores the product at the device designated by
+1
S1
9
9
9
(2) If
has designated a bit device, the lower 8 digits (lower 32 bits) will be used for the product,
D
and the higher 8 digits (upper 32 bits) cannot be designated.
K1 . . . Lower 1 digit (b0 to 3)
K4 . . . Lower 4 digits (b0 to 15)
K8 . . . Lower 8 digits (b0 to 31)
(3) The values for
6 - 38
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
MELSECNET/10(H)
File
Direct J \
Register
Bit
Command
Command
Data that will be multiplied or divided, or the head number of the device
storing data that will be multiplied or divided
Data to multiply or divide by, or the head number of device storing such
data
Head number of the device storing the operation results of multiplication
or division operation
S1
9
9
9
9
9
+3
D
9
9
9
9
and
can be designated from 0 to 99999999 (8 digit BCD).
S1
S2
QCPU
PLC CPU
Basic
High Performance
Usable Devices
Special
Function
Module
Word
U \G
indicates the signs DB
S1
P
S1
Meaning
and the BCD 8-digit data designated by
S1
.
D
+1
S2
S2
9
9
9
9
9
9
+2
+1
D
D
9
9
9
8
0
0
0
MELSEC-Q/QnA
QnA
Process CPU
Index
Constant
Register
K, H
Zn
or DB/
D
S2
D
S2
Data Type
BCD 8 digits
BCD 16 digits
9
9
D
0
0
0
0
1
Q4AR
Other
,
S2
6 - 38

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qnacpuMelsec q modeMelsec q series

Table of Contents