AND
Boolean AND between 2 to 32 Boolean variables.
In the text editor, use the ’&’ character or type AND.

Arguments | ||
---|---|---|
(inputs) | BOOL | From 2 to 32 inputs. |
output | BOOL | Boolean AND of the input variables |
Example
(* FBD example with "AND" Operators *)

(* ST equivalence 1: *)
bo10 := bi101 AND NOT (bi102);
bo5 := bi51 AND bi52 AND bi53;
(* ST equivalence 2: *)
bo10 := bi101 & NOT (bi102);
bo5 := bi51 & bi52 & bi53;
Provide Feedback