Bin 32-Bit Addition And Subtraction Operations (D+, D+P, D-, D-P) - Mitsubishi MELSEC QCPU Programming Manual

Programmable logic controller
Table of Contents

Advertisement

6 BASIC INSTRUCTIONS

6.2.2 BIN 32-bit addition and subtraction operations (D+, D+P, D-, D-P)

Internal Devices
Set
(System, User)
Data
Bit
Word
S
D
[Instruction Symbol] [Execution Condition]
D+, D-
D+P, D-P
[Set Data]
Set Data
S
D
[Functions]
D +
(1) Adds 32-bit BIN data designated by
result of the addition at the device designated by
(2) The values for
32 bits).
(3) Judgment of whether the data is positive or negative is made on the basis of the most
significant bit (b31).
• 0 .......... Positive
• 1 .......... Negative
6 - 20
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
MELSECNET/10(H)
File
Direct J \
Register
Bit
Command
Command
Addition or subtraction data, or first number of device storing addition or
subtraction data
Data to be added to or subtracted from, or first number of device storing
such data
+1
D
D
S
b31- -b16 b15- -b0
b31- -b16 b15- -b0
567890 (BIN)
+
123456 (BIN)
and
can be designated at between -2147483648 and 2147483647 (BIN
S
D
QCPU
PLC CPU
Basic
High Performance
Usable Devices
Special
Function
Module
Word
U \G
indicates the signs D+/D-
P
Meaning
to 32-bit BIN data designated by
D
.
D
+1
+1
S
D
b31- -b16 b15- -b0
691346 (BIN)
MELSEC-Q/QnA
QnA
Process CPU
Index
Constant
Register
Other
K, H
Zn
S
D
S
D
Data Type
BIN 32 bits
, and stores the
S
D
6 - 20
Q4AR

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qnacpuMelsec q modeMelsec q series

Table of Contents