Boolean algebra |
MATHDR32 -> Driver-specific functions -> Formulas -> Float formula -> Boolean algebra |
Show all Hide all |
Select Boolean
algebra
from the dropdown list in the Formula definition
section. The
following expressions are available:
Expression |
Function |
---|---|
AND |
logical 'AND' |
OR |
logical 'OR' |
XOR |
logical 'EXCLUSIVE OR' |
NOT |
Negation |
() |
Brackets |
For logical calculations, the variables will only be checked for the logical value '0'. If the value is not '0', it will be assumed as '1'. As opposed to Bit formulas, the technical range of the Mathematics variables can be modified by a stretch factor (not equal '0' or '1').
Boolean algebra can be combined with arithmetics, trigonometry and comparison.