Mitsubishi Electric MELDAS C6 Programming Manual page 172

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

(2) -32768 to 32767 (BIN 16-bit) can be designated in S1, S2 and S.
(3) The positive/negative of the data in S1, S2, S and D is determined with the highest-order bit
(B15).
B15
positive/negative
0
1
(4) The carry flag will not turn ON if the 15th bit overflows.
Execution conditions
The execution conditions for +, +P are as shown below.
Addition command OFF
+
+P
Program example
(1) Program to add the D0 BIN data and D10 BIN data and output to D20.
M0
10
(ON)
8. Function Commands
+, +P
Judgment of
Positive
Negative
ON
Executed per scan
D10
+
D0
- 163 -
Get other manuals https://www.bkmanuals.com
Executed per scan
Coding
No. of
Com-
steps
mand
D20
10
LD
11
+
15
Device
M0
D0
D10
D20

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64

Table of Contents