ANDQUAD, ANDOCT, ANDHEXD – Logical product of multiple signals

Block SymbolsLicensing group: STANDARD
PIC PIC PIC

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 Y= U1U2U3U4U5U6U7U8 is computed. For e.g. nl=1,3..5, the logical function is Y= ¬U1U2¬U3¬U4¬U5U6U16.

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)

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