e.g. ('Expression1') AND ('Expression2')

AND

Logical AND

OR

Logical OR

XOR

Logical exclusive OR

NOT

Logical NOT, negation

Description

The Boolean functions AND (logical AND), OR (logical OR), NOT (logical NOT, negation) and XOR (logical exclusive OR) can be used to connect binary expressions, such as digital signals. According to the rules of Boolean logic, the functions return the value TRUE or FALSE as their result. Digital signals, calculated (binary) expressions or the numerical values 0 or 1 can be entered as parameters.

The result can be presented and evaluated as a new expression, such as a signal. So, binary signals can easily be generated and can then be used as conditions for other features.

Table Logical functions, truth tables

AND

OR

XOR

NOT

A

B

f (A,B)

A

B

f (A,B)

A

B

f (A,B)

A

f (A)

0

0

0

0

0

0

0

0

0

0

1

1

0

0

1

0

1

1

0

1

1

0

0

1

0

0

1

1

0

1

1

1

1

1

1

1

1

1

1

0

Example

Graphical presentation of Boolean functions

Solution