Mitsubishi Electric MELDAS C6 Programming Manual page 174

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

(2) -2147483648 to 2147483647 (BIN 32-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
(B31).
B31
positive/negative
0
1
(4) The carry flag will not turn ON if the 31st bit overflows.
Execution conditions
The execution conditions for D+, D+P are as shown below.
Addition command OFF
D+
D+P
Program example
(1) Program to add the D0, 1 data and D9, 10 data when X0 turns ON, and output the results to D20,
21.
X0
10
8. Function Commands
D+, D+P
Judgment of
Positive
Negative
ON
Executed per scan
D+
D0
D9
- 165 -
Get other manuals https://www.bkmanuals.com
Executed per scan
Coding
No. of
Com-
steps
mand
D20
10
LD
11
D+
15
Device
X0
D0
D9
D20

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64

Table of Contents