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

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

Bit N1Bit N2Bit NOutput
000
011
101
111

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

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