ANDOCT – Logical product of eight signals
Block SymbolLicensing group: STANDARD
Function Description
The ANDOCT block computes the logical product of eight input signals U1, U2, …, U8.
The signals listed in the nl parameter are negated prior to computing the logical
product.
For an empty nl parameter a simple logical product is computed. For e.g. nl=2,6..8, the logical function is .
If you have less than 8 signals, use the nl parameter to handle the unconnected inputs. If you have only two input signals, consider using the AND_ block.
Inputs
U1 | First logical input of the block | bool |
U2 | Second logical input of the block | bool |
U3 | Third logical input of the block | bool |
U4 | Fourth logical input of the block | bool |
U5 | Fifth logical input of the block | bool |
U6 | Sixth logical input of the block | bool |
U7 | Seventh logical input of the block | bool |
U8 | Eighth logical input of the block | bool |
Outputs
Y | Output signal, logical product | 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 |
[Previous] [Back to top] [Up] [Next]