6. Function blocks
6.1 Manufacturer function blocks
6.1.7.2 BV - Boolean operation
General
easyE4 base devices provide 32 (Boolean operation) function
blocks, BV01 through BV32. This means that the values at func-
tion block inputs BV…I1 and BV…I2 will be connected with a
Boolean operator. This function block can be used to mask spe-
cific bits from values, detect bit patterns, or change bit pat-
terns.
Operating principle
This function block makes it possible to apply Boolean operators to bit groups (bytes,
words, or even double words). The size of the parameters at I1 and I2 must be the
same, in which case a bitwise AND, OR, XOR, or NOT operator will be applied to them,
with the result being output at QV.
The function block and its parameters
Function block inputs
Description Note
(Bit)
EN
1: Activates the
function block.
The checkbox for the
Function block release by EN is necessary
parameter must first be enabled
(DWord)
I1
First value
If one operand assumes a negative value, such as -
10 (dec) the processing unit forms the two's com-
plement of the amount.
Example
-10 (dec) = 10000000 00000000 00000000 00001010 (bin)
Two's complement = 11111111 11111111 11111111
11110110 (bin) = FFFFFFF6 (hex)
Bit 32 is retained at 1 as a sign bit.
I2
Second value
Assigning operands
You can assign the following operands to the function block inputs that are numeric
inputs.
Operands
Value inputs
Constant, timer constant
x
MD, MW, MB - Markers
x
NB, NW, ND - NET markers
x
nNB, nND, nND- NET markers
NET stations n
x
easyE4
11/18 MN050009 EN www.eaton.com
353
Содержание 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...