Logic
Bitwise AND
Description Input 1 and Input 2 are unsigned 16-bit integers. Output is the product of a bitwise AND of Input 1 and Input 2. Each bit of Input 1 is ANDed with the bit in the same position of Input 2.

0x0 ≤ Input ≤ 0xFFFF
0x0 ≤ Output ≤ 0xFFFF

Bit N1Bit N2Bit NOutput
000
010
100
111

Input 1:  0xAAAA   1010 1010 1010 1010
Input 2:  0x1234   0001 0010 0011 0100
Output:   0x220     0000 0010 0010 0000
Availability
  • Requires library: Process Control (option -05)
  • Firmware versions 0x1021 and later
savvy-SFD Graphic bitwiseAnd
Graphic with Parameters bitwiseAnd

Parameters

Input 1 Input, Read-write, Hexadecimal (unsigned 16-bit integer)
0x0 to 0xFFFF
Input 2 Input, Read-write, Hexadecimal (unsigned 16-bit integer)
0x0 to 0xFFFF
Output Output, Read-only, Hexadecimal (unsigned 16-bit integer)
0x0 to 0xFFFF