OROCT – Logical sum of eight signals
Block SymbolLicensing group: STANDARD
Function Description
The OROCT block computes the logical sum of eight input signals U1, U2, …, U8. The signals
listed in the nl parameter are negated prior to computing the logical sum.
For an empty nl parameter a simple logical sum is computed. For e.g. nl=2,6..8, the logical function is .
If you have only two input signals, consider using the OR_ 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 sum | 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]