Arithmetic Operation Instructions - Mitsubishi Electric FR - F700 Programming Manual

Plc function programming manual
Table of Contents

Advertisement

Basic instructions (16-bit)

3.26.3 Arithmetic Operation Instructions

The arithmetic operation instructions are instructions which perform the addition,
subtraction, multiplication, and division of two BIN data.
(1) Arithmetic operation with BIN (Binary)
• If the operation result of an addition instruction exceeds 32767 , the result
becomes a negative value.
• If the operation result of a subtraction instruction is less than - 32768 , 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 x 3
15
-5 x 3
-15
-5 x (-3)
15
-5 / 3
-1 and remainder -2
5 / (-3)
-1 and remainder 2
-5 / (-3)
1 and remainder -2
152

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr-f700

Table of Contents