Eaton easyE4 Manual page 319

Hide thumbs Also See for easyE4:
Table of Contents

Advertisement

Subtraction example
1134 - 42 = 1092
-2147483648 - 3 = Last valid value before this arithmetic operation, due to overflow
(Carry) AR..CY = 1
-4096 - 1000 = -5096
-4096 - (-1000) = -3096
Multiplication example
12 x 12 = 144
1000042 x 2401 = Last valid value of this arithmetic operation, due to overflow (Carry)
correct value = 2401100842 AR..CY = 1
-1000 x 10 = -10000
Division example
1024 : 256 = 4
1024 : 35 = 29 (The places after the decimal point are omitted.)
1024 : 0 = Last valid value before this arithmetic operation, due to overflow (Carry)
(mathematically correct "Infinity") AR..CY = 1
-1000 : 10 = -100
1000 : (-10) = -100
-1000 : (-10) = 100
10 : 100 = 0
Example of an arithmetic function block when using the EDP programming language
I 01----AR01CY-----------------Ä Q 01
I 02----AR02ZE-----------------S Q 02
Figure 165: Wiring the contacts
Example of an AR configuration on a device display
When using the function block in the circuit diagram for the first time, use OK to auto-
matically enter the display of function blocks on the device display, as shown in the fol-
lowing figure.
AR04 ADD +
>I1
>I2
QV>
Figure 166: Parameters on the device display
Enter the function block settings here. The display contains the following elements:
AR04 arithmetic
Function block:Arithmetic
function block
easyE4 10/19 MN050009 EN www.eaton.com
6. Function blocks
6.1 Manufacturer function blocks
315

Advertisement

Table of Contents
loading

Table of Contents