The Boolean Fan Input (BFI) function block generates a discrete output based on the weighted binary sum, binary coded decimal (BCD) representation, transition state, or logical OR of one to sixteen discrete inputs. The block supports signal status propagation. There are no modes or alarm detection in the Boolean Fan Input function block.
RESET_IN, when True (1), clears FIRST_OUT.
IN_D1 through IN_Dn are the discrete input values and statuses (as many as 16 inputs).
OUT_INT is the unsigned 32-bit binary weighted output value that represents the bit combination of the inputs (IN_Dn).
OUT_D is the output value that represents the logical OR of the inputs (IN_Dn).
FIRST_OUT is the binary weighted output that represents the bit combination of the discrete input value or values (IN_Dn) that are set when OUT_INT transitions from zero to non-zero and while ARM_TRAP is non-zero.
The following figure shows the internal components of the Boolean Fan Input function block: