The LSBFI 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 is the input that, when True (1), clears FIRST_OUT and activates the trap condition after all the inputs go False.
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_D).
OUT_D is the output value that represents the logical OR of the inputs (IN_D).
FIRST_OUT is the binary weighted output of the discrete input values when one or more inputs is set after RESET_IN is set.
The following diagram shows the internal components of the function block.