ORQUAD, OROCT, ORHEXD – Logical sum of multiple signals

Block SymbolsLicensing group: STANDARD
PIC PIC PIC

Function Description
The ORQUAD, OROCT and ORHEXD blocks compute the logical sum of up to sixteen input signals U1, U2, …, U16. The signals listed in the nl parameter are negated prior to computing the logical sum.

For an empty nl parameter a simple logical sum Y= U1U2U3U4U5U6U7 U16 is computed. For e.g. nl=1,3..5, the logical function is Y= ¬U1U2¬U3¬U4¬U5U6 U16.

If you have only two input signals, consider using the OR_ 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