AND Gate: Difference between revisions
(Created page with "The AND Gate is a simple truth-table based logic gate with 3 inputs and 1 output.") |
No edit summary |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
The AND Gate is a | {{Block | ||
|image=AND_Gate_256.png | |||
|invimage=AND Gate | |||
|type=Multipart block | |||
|dirt=Support block | |||
|gravity=No | |||
|transparent=Yes <small>(partial)</small> | |||
|light=Yes, 7 | |||
|tool=any | |||
|stackable=Yes (64) | |||
|renewable=Yes | |||
|availability=Survival | |||
|firstver=v4.0.0 | |||
|data=3 | |||
|multipartid=pr_sgate | |||
|nameid=None | |||
}} | |||
The AND Gate is a combinational [[Logic_Gate|logic gate]] with 3 inputs and 1 output. Combinational gates work strictly from a defined truth table. | |||
== Obtaining == | |||
=== Crafting === | |||
{{Crafting | |||
|mode=noname | |||
|A1=Anode |B1=Cathode |C1=Anode | |||
|A2=Cathode |B2=Cathode |C2=Cathode | |||
|A3=Circuit Plate |B3=Conductive Plate |C3=Circuit Plate | |||
|Output=AND Gate | |||
|foot=1 | |||
}} | |||
== Usage == | |||
===I/O=== | |||
The AND Gate has 3 inputs and 1 output. When placed, on the ground, the output is the side facing away from the player while the other 3 sides are the inputs. | |||
===Logic=== | |||
The output is disabled by default. When a signal is received on all of its enabled inputs, the output is enabled. | |||
=== Configuration === | |||
A shift-right-click with a [[Screwdriver|screwdriver]] can toggle which inputs are active. Disabling inputs causes the gate to ignore that side. For example, if an AND gate has only 2 sides enabled, then it would only need those 2 to be active in order to activate the output. | |||
When shift+right-clicked, the gate's inputs are manipulated in this order: All active, right disabled, back disabled, left disabled, right and left disabled, back and left disabled, right and back disabled. | |||
==History== | |||
{|class="wikitable" | |||
! '''Version''' | |||
! '''Changes''' | |||
|- | |||
| v4.0.0 | |||
| Added the AND Gate. | |||
|} | |||
==Issues== | |||
{{Issues}} |
Latest revision as of 19:26, 17 March 2015
Type |
Multipart block |
---|---|
Physics |
No |
Transparency |
Yes (partial) |
Luminance |
Yes, 7 |
Blast resistance | |
Tool |
Any tool |
Renewable |
Yes |
Stackable |
Yes (64) |
Flammable |
No |
Availability |
Survival |
First appearance | |
Drops |
Itself |
Data value |
dec: 3 hex: 3 bin: 11 |
Multipart ID |
pr_sgate |
The AND Gate is a combinational logic gate with 3 inputs and 1 output. Combinational gates work strictly from a defined truth table.
Obtaining
Crafting
Ingredients | Crafting recipe |
---|---|
Anode + Cathode + Circuit Plate + Conductive Plate |
Usage
I/O
The AND Gate has 3 inputs and 1 output. When placed, on the ground, the output is the side facing away from the player while the other 3 sides are the inputs.
Logic
The output is disabled by default. When a signal is received on all of its enabled inputs, the output is enabled.
Configuration
A shift-right-click with a screwdriver can toggle which inputs are active. Disabling inputs causes the gate to ignore that side. For example, if an AND gate has only 2 sides enabled, then it would only need those 2 to be active in order to activate the output.
When shift+right-clicked, the gate's inputs are manipulated in this order: All active, right disabled, back disabled, left disabled, right and left disabled, back and left disabled, right and back disabled.
History
Version | Changes |
---|---|
v4.0.0 | Added the AND Gate. |
Issues
Issues pertaining to "AND Gate" are maintained on the ProjectRed Github page. Report issues there.