Logic gates
6 logic gates blocks, generated from the live catalogue.
Logic gates combine several branches. A gate waits until every connected input has reported for this run, then evaluates once. A branch reports true when it reaches the gate; a condition whose other output is wired to the gate reports false, so an AND fed by a failed check resolves to no instead of waiting forever.
Note
This page is generated from the bot's block catalogue — 6 blocks at the time of this build.
AND — all true
logic.and — Continues on YES only if every connected input was reached. Connect the YES outputs of several conditions here.
Outputs: yes / no.
Inputs: A, B, C — only connected inputs count.
No settings.
OR — any true
logic.or — Continues on YES if at least one connected input was reached.
Outputs: yes / no.
Inputs: A, B, C — only connected inputs count.
No settings.
XOR — exactly one
logic.xor — Continues on YES if exactly one connected input was reached — “either, but not both”.
Outputs: yes / no.
Inputs: A, B, C — only connected inputs count.
No settings.
NAND — not all
logic.nand — Continues on YES unless every connected input was reached. The inverse of AND.
Outputs: yes / no.
Inputs: A, B, C — only connected inputs count.
No settings.
NOR — none
logic.nor — Continues on YES only if no connected input was reached. The inverse of OR.
Outputs: yes / no.
Inputs: A, B, C — only connected inputs count.
No settings.
NOT — invert
logic.not — Swaps YES and NO of the branch feeding it. Handy for “none of these” checks.
Outputs: yes / no.
No settings.
