EasyManua.ls Logo

Eaton easy800

Eaton easy800
394 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5 Function blocks
5.2 AR, Arithmetic
142 Control Relay easy800 11/11 MN04902001Z-EN www.eaton.com
The following examples illustrate the functions of the function block for every
arithmetic operation:
Addition examples
42 + 1000 = 1042
2147483647 + 1 = Last valid value before this arithmetic operation,
due to overflow (CARRY) AR..CY = Status 1
-2048 + 1000 = -1048
Subtraction examples
1134 - 42 = 1092
-2147483648 - 3 = Last valid value before this arithmetic operation,
due to overflow (CARRY) AR..CY = Status 1
-4096 - 1000 = -5096
-4096 - (-1000) = -3096
Multiplication examples
12 x 12 = 144
1000042 x 2401 = Last valid value before this arithmetic operation,
due to overflow (CARRY) Correct value = 2401100842 AR..CY = Status 1
-1000 x 10 = -10000
Division examples
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 = Status 1
-1000 : 10 = -100
1000 : (-10) = -100
-1000 : (-10) = 100
10 : 100 = 0
Memory
40 + per 4 Byte/Constant at function block
input
Cycle time [μs]
easy800 standard easy800-SWD
ADD
32 12
SUB
33 13
MUL
38 16
DIV
41 18

Table of Contents

Related product manuals