Toshiba PROSEC T1-16S User Manual page 145

Programmable controller basic hardware and function
Hide thumbs Also See for PROSEC T1-16S:
Table of Contents

Advertisement

FUN 027
+
Expression
Input
[ A + B
C ]
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
OFF
No execution
ON
Execution (normal)
Execution (overflow or underflow occurred)
Operand
Name
X
A Augend
B Addend
C Sum
Example
When R005 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 R010 is turned OFF.
D0100
12345
Constant
1000
If the data of D0100 is 32700, the result exceeds the limit value, therefore 32767 is stored in
D0110, and R010 is turned ON.
D0100
32700
Constant
1000
Addition
Output
Operation
Device
Y
R
S
T.
C. XW YW RW SW T
+
Overflow
+
Output
OFF
OFF
ON
Register
C
D
D0110
13345
D0110
32767
Basic Hardware and Function
6F3B0253
7. Instructions
Constant Index
I
J
K
R010 is OFF
R010 is ON
143

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents