Eaton easyE4 series Manual page 257

Hide thumbs Also See for easyE4 series:
Table of Contents

Advertisement

-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 139: 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 140: Parameters on the device display
Enter the function block settings here. The display contains the following elements:
AR04 arithmetic
Function block:Arithmetic
function block
ADD +
Mode:Adder
+
Parameter set can be called via the PARAMETERS menu
>I1
First value is associated with the value at I2 via the arith-
metic operation.
Integer value range:
-2,147,483,648 to +2,147,483,647
easyE4 11/18 MN050009 EN www.eaton.com
6. Function blocks
6.1 Manufacturer function blocks
253

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents