Function blocks
For more information visit:
www.EatonElectrical.com
MN05013005E
163
Arithmetic function block modes
Value range
The function block operates in the integer range from
–2147483648 to +2147483647.
Behavior when value range is exceeded
• The function block sets the switching contact AR..CY to
status 1.
• The function block retains the value of the last valid
operation. The value is zero when it is first called.
Displaying the parameter set in the PARAMETERS menu
• + Access enabled
• – Access disabled
Contacts
AR01CY to AR32CY: CARRY overflow bit, value on function
block output greater than or less than the value range.
AR01ZE to AR32ZE: ZERO zero bit, value on function block
output is equal to zero.
Coils
The arithmetic function block does not have any coils.
Memory requirement of the arithmetic function block
The arithmetic function block requires 40 bytes of memory
plus 4 bytes per constant on the function block inputs.
Addition
42 + 1000 = 1042
Parameter
Function
ADD
Addition of summand value
>I1
plus summand
>I2
SUB
Subtraction of minuend
>I1
minus subtrahend
>I2
MUL
Multiplication of factor
>I1
by factor
>I2
DIV
Division of dividend
>I1
by divisor
>I2