6. BASIC INSTRUCTIONS
6
−
11
MELSEC-A
(3) At (S), (S1), (S2) and (D), -32768 to 32767 (BIN 16 bits) can be specified.
(4) The judgment of whether the data of (S), (S1), (S2) and (D) are positive or
negative is made at the highest bit (b15).
0
⋅⋅⋅⋅⋅⋅
Positive
1
⋅⋅⋅⋅⋅⋅
Negative
(5) When the 0th bit has underflown, the carry flag does not turn on.
When the 15th bit has overflown, the carry flag does not turn on.
Functions -
(1) Performs the subtraction of BIN data specified at (D) and the BIN data specified
at (S), and stores the subtraction result into the device specified at (D).
(2) Performs the subtraction of BIN data specified at (S1) and the BIN data
specified at (S2), and stores the subtraction result into the device specified at
(D1).
(3) At (S), (S1), (S2) and (D), -32768 to 32767 (BIN 16 bits) can be specified.
(4) The judgement of whether the dates of (S), (S1), (S2) and (D) are positive or
negative is made at the highest bit (b15).
0
……..
Positive
1
……..
Negative
(5) When the 0th bit has underflown, the carry flag does not turn on.
When the 15th bit has overflown, the carry flag does not turn on.
Summary of Contents for MELSEC-A series
Page 1: ......
Page 2: ......
Page 13: ...A 11 MEMO...
Page 505: ...APPENDICES APP 100 MELSEC A MEMO...
Page 507: ......
Page 508: ......