Toshiba PROSEC T1-16S User Manual page 149

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

Advertisement

FUN 031
D+
Expression
Input
[ A+1 A D+ B+1 B
Function
When the input is ON, the double-word data of A+1 A and B+1 B are added, and the result is
stored in C+1 C. The data range is -2147483648 to 2147483647.
If the result is greater than 2147483647, the upper limit value 2147483647 is stored in C+1 C, and
the output is turned ON. If the result is smaller than -2147483648, the lower limit value
-2147483648 is stored in C+1 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 D0011 D0010 and the constant data 100000 is added, and the
result is stored in D0101 D0100.
If the data of D0011 D0010 is 300000, the result 400000 is stored in D0101 D0100, and R010
is turned OFF. (No overflow/underflow)
D0011 D0010
Constant
Double-word addition
C+1 C ]
Output
Operation
Device
Y
R
S
T.
C. XW YW RW SW T
300000
+
100000
Output
OFF
OFF
ON
Register
C
D
D0101 D0100
400000
Basic Hardware and Function
6F3B0253
7. Instructions
Constant Index
I
J
K
R010 is OFF
147

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents