6. Function blocks
6.1 Manufacturer function blocks
You can assign the following operands to the function block inputs that are bit inputs:
Operands Bit inputs
Constant 0, constant 1
x
M - Markers
x
RN - Input bit via NET
2)
x
SN - Output bit via NET (send)
2)
x
N - Net marker bit
2)
x
nN - NET marker bit
2)
NET station n
x
ID: Diagnostic alarm
x
LE - Output backlight
x
P device buttons
x
I - Bit input
x
Q - Bit output
x
Q - Bit output of a FB
x
2)
Only on projects with ≥ 2 base devices on NET
Operating modes
Description Note
ADD – Adder
Adding
(I1 + I2 = QV)
2174483647 + 1 = QV contains the last per-
missible value as an overflow has occurred.
The carry bit AR..CY is set to 1.
SUB – Subtracter
Subtracting
(I1 - I2 = QV)
-2174483648 - 3 = QV contains the last per-
missible value as an overflow has occurred.
The carry bit AR..CY is set to 1.
MUL – Multiplier
Multiply
(I1 * I2 = QV)
1000042 * 2401 = QV contains the last per-
missible value as an overflow has occurred.
The carry bit AR..CY is set to 1.
DIV – Divider
Divide
(I1 : I2 = QV)
1024: 0 = QV contains the last permissible
value as an overflow occurred. The carry bit
AR..CY is set to 1.
10 : 100 = 0
336
easyE402/24 MN050009ENEaton.com