Back to FBD reference

Basic logic

AND

Logical AND

The AND block combines two conditions. Output Q becomes TRUE only when IN1 and IN2 are both TRUE.

Typical FBD symbol

IN1
IN2
AND
Q
Typical FBD symbol for AND

Inputs

NameTypeRequiredDescription
IN1BOOLYesThe first boolean condition.
IN2BOOLYesThe second boolean condition.

Outputs

NameTypeRequiredDescription
QBOOLYesThe logical AND result.

Stateful

No, the block does not keep internal state.

Behavior rule

Q = IN1 AND IN2

Truth table

IN1IN2Q
FALSEFALSEFALSE
FALSETRUEFALSE
TRUEFALSEFALSE
TRUETRUETRUE

Practical use

  • permit start only when the start button is pressed and the safety door is closed;

What to watch

  • Assuming one active input is enough. For AND, both inputs must be TRUE.

Related blocks