### ANDQUAD, ANDOCT, ANDHEXD – Logical product of multiple signals

Block SymbolsLicensing group: STANDARD

Function Description
The ANDQUAD, ANDOCT and ANDHEXD blocks compute the logical product of up to sixteen input signals U1, U2, …, U16. The signals listed in the nl parameter are negated prior to computing the logical product.

For an empty nl parameter a simple logical product $\mathtt{\text{Y}}=\mathtt{\text{U1}}\wedge \mathtt{\text{U2}}\wedge \mathtt{\text{U3}}\wedge \mathtt{\text{U4}}\wedge \mathtt{\text{U5}}\wedge \mathtt{\text{U6}}\wedge \mathtt{\text{U7}}\wedge \mathtt{\text{U8}}$ is computed. For e.g. nl=1,3..5, the logical function is $\mathtt{\text{Y}}=¬\mathtt{\text{U1}}\wedge \mathtt{\text{U2}}\wedge ¬\mathtt{\text{U3}}\wedge ¬\mathtt{\text{U4}}\wedge ¬\mathtt{\text{U5}}\wedge \mathtt{\text{U6}}\wedge \dots \mathtt{\text{U16}}$.

If you have less than 4/8/16 signals, use the nl parameter to handle the unconnected inputs. If you have only two input signals, consider using the AND_ block.

Inputs

 U1..U16 Logical inputs of the block Bool

Outputs

 Y Result of the logical operation Bool NY Boolean complementation of Y Bool

Parameter

 nl List of signals to negate. The format of the list is e.g. 1,3..5,8. Third-party programs (Simulink, OPC clients etc.) work with an integer number, which is a binary mask, i.e. 157 (binary 10011101) in the mentioned case. Long (I32)

2020 © REX Controls s.r.o., www.rexygen.com