EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC-A series

Mitsubishi MELSEC-A series Programming Manual

Mitsubishi MELSEC-A series
508 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #121 background imageLoading...
Page #121 background image
6. BASIC INSTRUCTIONS
6 9
MELSEC-A
Arithmetic operation with BIN (Binary)
If the operation result of an addition instruction exceeds 32767 (2147483647 in the
case of a 32-bit instruction), the result becomes a negative value.
If the operation result of a subtraction instruction is less than - 32768
(-2147483648 in the case of a 32-bit instruction), the result becomes a positive
value.
The operation of a positive value and a negative value is as follows:
5 + 8 13
5 - 8 -3
5 × 3 15
-5 × 3 -15
-5 × (3) 15
-5 / 3 -1 and remainder -2
5 / (3) -1 and remainder 2
-5 / (3) 1 and remainder -2
Arithmetic operation with BCD
If the operation result of an addition instruction has exceeded 9999 (99999999 in
the case of a 32-bit instruction), carry is ignored.
When the subtrahend is less than the minuend in the subtraction instruction, the
following occurs.
Carry is ignored.

Table of Contents

Other manuals for Mitsubishi MELSEC-A series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC-A series and is the answer not in the manual?

Mitsubishi MELSEC-A series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-A series
CategoryController
LanguageEnglish

Related product manuals