Download  Print this page

Mitsubishi Electric A800 Programming Manual Page 162

800 series, plc function.
Hide thumbs

Advertisement

Function
D+
• Executes addition of the BIN data specified with
D
device specified with
.
• Executes addition of the BIN data specified with
D1
device specified with
.
• -2147483648 to 2147483647 (BIN 32-bit) can be specified in
• Positive/negative judgment of the
(0: positive, 1: negative)
• The carry flag does not turn ON for the 0-bit underflow. The carry flag does not turn ON for the 31st bit overflow. (There is
no carry flag)
Function
D-
• Executes subtraction of the BIN data specified with
in the device specified with
• Executes subtraction of the BIN data specified with
in the device specified with
• -2147483648 to 2147483647 (BIN 32-bit) can be specified in
• Positive/negative judgment of the
(0: positive, 1: negative)
• The carry flag does not turn ON for the 0-bit underflow. The carry flag does not turn ON for the 31st bit overflow. (There is
no carry flag)
D
and BIN data specified with
D
+1
D
S
+1
b31
b16 b15
b0
b31
b16 b15
567890 (BIN)
123456 (BIN)
+
S1
and BIN data specified with
+1
+1
S1
S1
S2
b31
b16 b15
b0
b31
b16 b15
567890 (BIN)
+
123456 (BIN)
S
,
S1 S2
,
and
D
data is performed by the most significant bit (b31).
D
and BIN data specified with
D
.
D
+1
D
S
+1
b31
b16 b15
b0
b31
567890 (BIN)
-
123456 (BIN)
S1
and BIN data specified with
D1
.
+1
+1
S1
S1
S2
b31
b16 b15
b0
b31
567890 (BIN)
123456 (BIN)
-
S
S1 S2
D
,
,
and
data is performed by the most significant bit (b31).
S
, and stores the addition results in the
S
D
+1
b0
b31
b16 b15
691346 (BIN)
S2
, and stores the addition results in the
+1
S2
D1
b0
b31
b16 b15
691346 (BIN)
D
S
S1 S2
,
,
or
.
S
S
D +1
b16 b15
b0
b31
b16 b15
444434 (BIN)
S2
+1
S2
D1
b16 b15
b0
b31
b16 b15
444434 (BIN)
S
S1 S2
D
,
,
or
.
Basic instruction (32-bit)
D
b0
D1
b0
, and stores the subtraction results
D
b0
, and stores the subtraction results
D1
b0
Sequence program
3
161

Advertisement

Table of Contents

This manual is also suitable for:

F800

Comments to this Manuals

Symbols: 0
Latest comments: