5 Function blocks
5.5 BV, Boolean operation
160 Control Relay easy800 11/11 MN04902001Z-EN www.eaton.com
Inputs
I1 and I2: At function block inputs I1 and I2 you write the values to be
associated. You can assign the following operands to function block inputs
I1 and I2:
• Constant.
• Markers MD, MW, MB.
• Analog inputs IA01 to IA04:
• IA01: Terminal I7.
• IA02: Terminal I8.
• IA03: Terminal I11.
• IA04: Terminal I12.
• Analog output QA01.
• Output
…QV of a different function block.
Output
The output
…QV> supplies the operation result. You can assign the following
operands:
• Analog output QA01.
• Markers MD, MW, MB.
Function of the function block
The function block creates the operation depending on the operating mode.
Example:
Binary
Memory
48 + per 4 Byte/Constant at function block input
Cycle time [μs]
easy800 standard easy800-SWD
AND
27 10
OR
27 10
XOR
27 10
NO T
27 10
→
If you associate a negative value (e.g. -10
dec
) the central
processing unit will form the two's complement of the amount.
Magnitude(-10
dez
) 00000000000000000000000000001010
bin
Ones' complement formation 11111111111111111111111111110101
bin
adding 1
bin
1
bin
Binary result 11111111111111111111111111110110
bin
Hexadecimal result FFFFFFF6
hex