EasyManua.ls Logo

Mitsubishi MELSEC QCPU - BCD 4-Digit Addition and Subtraction Operations (B+, B+P, B-, B-P)

Mitsubishi MELSEC QCPU
285 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6 - 28 6 - 28
MELSEC-Q/QnA
6 BASIC INSTRUCTIONS
High Performance
QnA Q4AR
Basic
QCPU
PLC CPU
Process CPU
6.2.5 BCD 4-digit addition and subtraction operations (B+, B+P, B-, B-P)
Usable Devices
Internal Devices
(System, User)
MELSECNET/10(H)
Direct J
\
Set
Data
Bit Word
File
Register
Bit Word
Special
Function
Module
U
\G
Index
Register
Zn
Constant
K, H
Other
S
D
[Instruction Symbol] [Execution Condition]
indicates the signs B+ or B-
Command
Command
P
B+, B -
B+P, B - P
S D
S D
[Set Data]
Set Data Meaning Data Type
S
Addition or subtraction data, or head number of device storing addition or
subtraction data
D
Data to be added to or subtracted from, or head number of device storing
such data
BCD 4-digit
[Functions]
B
+
(1) Adds the BCD 4-digit data designated by
D
and the BCD 4-digit data designated by
S
, and
stores the result of the addition at the device designated by
D
.
+6578 2134 9612
D S D
(2) The values for
S
and
D
can be between 0 to 9999 (BCD 4-digit).
(3) If the result of the addition operation exceeds 9999, the higher bits are ignored. The carry flag
in this case does not go ON.
+4632 00155383
B
-
(1) Subtracts the BCD 4-digit data designated by
D
and the BCD 4-digit data designated by
S
,
and stores the result of the subtraction at the device designated by
D
.
Digits higher than those which were designated
will be read as 0.
404420346078
D D
S2
-
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Related product manuals