
Executes a logical operation using a bit mask
Category: Bitwise
The block executes logical operations on an Input Signal applying transformations according to the parameters chosen, Figure 1 shows an example.

Figure 1 - Example diagram
In this example, the operation executed is AND, the Mask Value is 12 in decimal basis and the Input Signal is 10. These values in U32 data type represented in binary format are respectively 0b1100 and 0b1010 as shown in the figure. So, when the operation is executed, the Output Signal is 0b1000.
The parameter Operator in the Bit Logical Mask' Properties defines the logic gate to be executed by the block.

Bit Logical Mask' Properties
A decimal value of an U32 number used in the operations.
The signal flowing into this port is transformed by the logic operation of the block.
The signal flowing out of this port is the result of the operation applied in the Input Signal along with the corresponding parameter value.
About MWF
MWF is a traditional Brazilian company that provides a wide range of electronic and mechatronic products for industry sectors such as automotive, agricultural machinery and aerospace.
Contact Us
Rua Doutor Siqueira, 139 / Sala 804 Campos dos Goytacazes - RJ, Brasil
contact@mwf-technologies.com
© 2018-2026 MWF. All rights reserved.