beautypg.com

Instruction 22- addition – Maple Systems MAPware-7000 User Manual

Page 46

background image

MAPware-7000 Ladder Logic Guide

38

1010-1041 rev. 00

Instruction 22- Addition

Expression:

Space Requirement: 1 line x 6 column Location Requirement: Middle, Right rail

Function:

When the input is ON, the data of A and the data of B are added, and the result is stored in C. If
the result is greater than 32767, the upper limit value 32767 is stored in C, and the output is
turned ON. If the result is smaller than -32768, the lower limit value -32768 is stored in C, and
the output is turned ON.

Execution Condition:

Input

Operation

Output

OFF

No execution

OFF

ON

Execution (normal)

OFF

Execution (overflow or underflow condition)

ON

Operand:

Coil or Bit

Register

Constant

Index

Name

X Y

B

S

T.

C.

M

X
W

Y
W

B
W

S
W

T C

D

I

J

K

M
W

A

Augend

√ √

B

Addent

√ √

C

Sum

√ √

Example:

When B005 is ON, the data of D0100 and the constant data 1000 is added, and the result is
stored in D0110.

If the data of D0100 is 12345, the result 13345 is stored in D0110, and B010 is turned OFF.