Rockwell Automation 1760-xxxx Pico GFX-70 Controllers User Manual User Manual
Page 156
Advertising
Publication 1760-UM002B-EN-P - March 2005
4-46 Wiring with Pico GFX-70
-2048 +1000 = -1048
Subtraction
1134 - 42 =1092
-2147483648 - 3 = last valid value of this arithmetic operation, due to
overflow (CARRY)
AR..CY = Status 1
-4096 - 1000 = -5096
-4096 - (-1000) = -3096
Multiplication
12 x 12 = 144
1000042 x 2401 = last valid value of this arithmetic operation, due to overflow
(CARRY)
Correct value = 2401100842
AR..CY = Status 1
-1000 x 10 = -10000
Division
1024: 256 = 4
1024: 35 = 29 (the places after the decimal point are omitted.)
1024: 0 = last valid value of this arithmetic operation, due to overflow
(CARRY)
(mathematically correct: “Infinite”)
AR..CY = Status 1
-1000: 10 = -100
1000: -10 = -100
-1000: (-10) = 100
10: 100 = 0
Advertising