EasyManuals Logo

Mitsubishi MELSEC QCPU User Manual

Mitsubishi MELSEC QCPU
285 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #181 background imageLoading...
Page #181 background image
6 - 30 6 - 30
MELSEC-Q/QnA
6 BASIC INSTRUCTIONS
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
S1
S2
D
[Instruction Symbol] [Execution Condition]
indicates the signs B+ or B-
Command
Command
P
B+,B-
B+P,B-P
S1 S2
D
S1
S2
D
[Set Data]
Set Data Meaning Data Type
S1
Data to be added to or subtracted from, or the head number of the device
storing such data
S2
Addition or subtraction data, or head number of device storing addition or
subtraction data
D
Head number of device storing addition or subtraction data
BCD 4-digit
[Functions]
B
+
(1) Adds the BCD 4-digit data designated by
S1
and the BCD 4-digit data designated by
S2
, and
stores the result of the addition at the device designated by
D
.
+ 961221346578
S1
S2
D
(2) The values for
S1
,
S2
, and
D
can be between 0 to 9999 (BCD 4-digit data).
(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.
+
00155
4632
383
B
-
(1) Subtracts the BCD 4-digit data designated by
S1
and the BCD 4-digit data designated by
S2
,
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
S1
D
S2
-
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC QCPU and is the answer not in the manual?

Mitsubishi MELSEC QCPU Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC QCPU
CategoryController
LanguageEnglish

Related product manuals