AND

<< Click to Display Table of Contents >>

Navigation:  Function block library > Logic > Logic operations >

AND

Previous pageReturn to chapter overviewNext page

  and

The Output of the AND is true only if all Inputs are true. See type conversion how numbers are converted to bool.

 

Inputs

Type

Default

Description

Input 1

bool

true


...




Input 8

bool

true






Outputs




Q

bool


see table below

 

Inputs

 

1

2

3

4

5

6

7

8

Q

0

0

0

0

0

0

0

0

0

 

 

 

 

 

 

 

1

0

 

 

 

 

 

 

1

 

0

 

 

 

 

 

 

1

1

0

 

 

 

 

 

1

 

 

0

 

 

 

 

 

1

 

1

0

 

 

 

 

 

1

1

 

0

 

 

 

 

 

1

1

1

0

 

 

 

 

1

 

 

 

0

 

 

 

 

1

 

 

1

0

 

 

 

 

1

 

1

 

0

 

 

 

 

1

 

1

1

0

 

 

 

 

1

1

 

 

0

 

 

 

 

1

1

 

1

0

 

 

 

 

1

1

1

 

0

 

 

 

 

1

1

1

1

0

 

 

 

1

 

 

 

 

0

 

 

 

 

 

 

 

 

 

1

1

1

1

1

1

1

1

1