6. Function blocks
6.1 Manufacturer function blocks
-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
Function block:Arithmetic
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
253
Содержание easyE4 series
Страница 1: ...Manual 11 18 MN050009 EN easyE4 Manual...
Страница 4: ......
Страница 16: ...12 easyE4 11 18 MN050009 EN www eaton com...
Страница 22: ...0 1 About this manual 18 easyE4 11 18 MN050009 EN www eaton com...
Страница 40: ...1 easyE4 control relays description 1 10 Safety regulations 36 easyE4 11 18 MN050009 EN www eaton com...
Страница 169: ...easyE4 11 18 MN050009 EN www eaton com 165...
Страница 462: ...6 Function blocks 6 4 Timing and counter relay example 458 easyE4 11 18 MN050009 EN www eaton com...
Страница 490: ...7 System settings 7 16 Time and Date setting 486 easyE4 11 18 MN050009 EN www eaton com...
Страница 520: ...9 easyE4 inside 9 7 NET network 516 easyE4 11 18 MN050009 EN www eaton com...
Страница 524: ...10 Diagnostics messages of the operating system 10 2 Diagnostics buffer 520 easyE4 11 18 MN050009 EN www eaton com...
Страница 570: ...11 Connection to other devices 11 6 E mail function 566 easyE4 11 18 MN050009 EN www eaton com...
Страница 578: ...12 Faults 12 4 Functionality of the NET faulty 574 easyE4 11 18 MN050009 EN www eaton com...
Страница 582: ...13 Maintenance 13 3 Storage transport and disposal 578 easyE4 11 18 MN050009 EN www eaton com...
Страница 594: ...590 easyE4 11 18 MN050009 EN www eaton com...
Страница 614: ...610 easyE4 11 18 MN050009 EN www eaton com...