How do I get the NOT, NAND, NOR and XNOR logic gates to work?Who are all of the companions and how do I get them?How do the Stands work?How does the Combat Medic Perk in Fallout 4 work?How does workshop sharing work?Can you make Logic Gates/Computers with Power in Fallout 4?How to get the NPC IDHow does the Bloodied legendary work in Fallout 4?How does the Pack Alpha perk from Nuka World work?How to count and group items on a line in the Fallout 4 Contraptions DLC?How can I get my companion to not throw grenades at the mosquitos?

What is the origin of "Wonder begets wisdom?"

What does "play in traffic" mean?

Why should fork() have been designed to return a file descriptor?

Do pedestrians imitate automotive traffic?

Brute-force the switchboard

Making an example from 'Clean Code' more functional

Alignment problem with a mathematical equation in a presentation in beamer

When will the last unambiguous evidence of mankind disappear?

Ethiopian Airlines tickets seem to always have the same price regardless of the proximity of the date?

Satellite in orbit in front of and behind the Moon

What would be the effects of (relatively) widespread precognition on the stock market?

Host telling me to cancel my booking in exchange for a discount?

Could Europeans in Europe demand protection under UN Declaration on the Rights of Indigenous Peoples?

How to tell readers that I know my story is factually incorrect?

Infinite points on circle

Why does airflow separate from the wing during stall?

Can two waves interfere head on?

What is the difference between uniform velocity and constant velocity?

Conditional statement in a function for PS1 are not re-evalutated

Does a hash function have a Upper bound on input length?

How does the Gameboy's memory bank switching work?

BIP-23 criticism: Is bitcoin PoW actually sha256+merkleGeneration? Or have I misunderstood coinbase/append?

Can a creature sustain itself by eating its own severed body parts?

Difference between string += s1 and string = string + s1



How do I get the NOT, NAND, NOR and XNOR logic gates to work?


Who are all of the companions and how do I get them?How do the Stands work?How does the Combat Medic Perk in Fallout 4 work?How does workshop sharing work?Can you make Logic Gates/Computers with Power in Fallout 4?How to get the NPC IDHow does the Bloodied legendary work in Fallout 4?How does the Pack Alpha perk from Nuka World work?How to count and group items on a line in the Fallout 4 Contraptions DLC?How can I get my companion to not throw grenades at the mosquitos?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








14















The Contraptions Workshop DLC introduced a range of "Advanced switches". Playing around with these, I found the AND, OR, and XOR gates to work exactly as expected, but not the NOT, NAND, NOR and XNOR gates. Here's a fairly long explanation of what I've tried to get them to work:




This was my first attempt at using a NAND gate (which should be transmitting power unless both inputs are turned on):



Attempt 1 - NAND gate



Reading up, I discovered that the N- gates "only transmit power if their inputs are connected directly to the output of other logic gates."



My next attempt, which I expected to work based on the information above, was to have an AND gate feeding into the NOT gate as such:



Attempt 2 - AND -> NOT



But, despite the NOT gate's input coming directly from the AND gate, the NOT gate did not turn on.



The problem seemed to be that:



  • if the previous gate transferred power as its conditions were met, the NOT gate would invert the power and stay off.

  • if the previous gate's conditions were not met, no power would pass onto the NOT gate for it to be able to turn on the light.

As a final attempt, I ran the AND's output into a NAND gate instead, which I can have one input powered whilst still having it (hopefully) turn on:



Attempt 3 - AND -> NAND with power



So, from what I understand:



  1. The NAND gate should be receiving power from the generator, in order for it to be able to turn on if its conditions are met.

  2. The AND gate is not transmitting power, so the NAND gate should have its conditions met.

  3. The light is still not turning on.


My question is, how do I get these N- gates to function? What is the logic behind when they transmit power? Perhaps I'm making an obvious mistake here like wiring them wrong, or have a misunderstanding of how these gates are intended to work.










share|improve this question






















  • "if the previous gate's conditions were not met, no power would pass onto the NOT gate for it to be able to turn on the light." that seems like a design oversight...

    – l I
    Jun 22 '16 at 23:58












  • I'm starting to think this may be a power-source issue rather than an issue with the logic gate functionality. On the Bethesda support center page, it mentions that " A light lit on the top left of a gate indicates power is flowing through it. This is regardless of whether there is a True (1) Input or not". Are you seeing that light on your gates?

    – pushasha
    Jun 23 '16 at 16:18











  • If not, I'm wondering whether "powering" the wall the gates are placed on would solve that.

    – pushasha
    Jun 23 '16 at 16:20











  • @pushasha How would I power a wall? Tried connecting a conduit to the wall and powering that, but nothing seems to change. I also tried having both of the NAND's inputs coming from logic gates (2 ANDs, 1 on 1 off), but that didn't seem to work either.

    – SirBenet
    Jun 23 '16 at 17:04











  • When I said "power", I was referring to connecting a conduit to the wall and powering that, such that anything connected to it (like lights) is powered, as you suspected. Sorry that didn't work. Once I get home, I'll do some experimenting and let you know if I find anything.

    – pushasha
    Jun 23 '16 at 17:51

















14















The Contraptions Workshop DLC introduced a range of "Advanced switches". Playing around with these, I found the AND, OR, and XOR gates to work exactly as expected, but not the NOT, NAND, NOR and XNOR gates. Here's a fairly long explanation of what I've tried to get them to work:




This was my first attempt at using a NAND gate (which should be transmitting power unless both inputs are turned on):



Attempt 1 - NAND gate



Reading up, I discovered that the N- gates "only transmit power if their inputs are connected directly to the output of other logic gates."



My next attempt, which I expected to work based on the information above, was to have an AND gate feeding into the NOT gate as such:



Attempt 2 - AND -> NOT



But, despite the NOT gate's input coming directly from the AND gate, the NOT gate did not turn on.



The problem seemed to be that:



  • if the previous gate transferred power as its conditions were met, the NOT gate would invert the power and stay off.

  • if the previous gate's conditions were not met, no power would pass onto the NOT gate for it to be able to turn on the light.

As a final attempt, I ran the AND's output into a NAND gate instead, which I can have one input powered whilst still having it (hopefully) turn on:



Attempt 3 - AND -> NAND with power



So, from what I understand:



  1. The NAND gate should be receiving power from the generator, in order for it to be able to turn on if its conditions are met.

  2. The AND gate is not transmitting power, so the NAND gate should have its conditions met.

  3. The light is still not turning on.


My question is, how do I get these N- gates to function? What is the logic behind when they transmit power? Perhaps I'm making an obvious mistake here like wiring them wrong, or have a misunderstanding of how these gates are intended to work.










share|improve this question






















  • "if the previous gate's conditions were not met, no power would pass onto the NOT gate for it to be able to turn on the light." that seems like a design oversight...

    – l I
    Jun 22 '16 at 23:58












  • I'm starting to think this may be a power-source issue rather than an issue with the logic gate functionality. On the Bethesda support center page, it mentions that " A light lit on the top left of a gate indicates power is flowing through it. This is regardless of whether there is a True (1) Input or not". Are you seeing that light on your gates?

    – pushasha
    Jun 23 '16 at 16:18











  • If not, I'm wondering whether "powering" the wall the gates are placed on would solve that.

    – pushasha
    Jun 23 '16 at 16:20











  • @pushasha How would I power a wall? Tried connecting a conduit to the wall and powering that, but nothing seems to change. I also tried having both of the NAND's inputs coming from logic gates (2 ANDs, 1 on 1 off), but that didn't seem to work either.

    – SirBenet
    Jun 23 '16 at 17:04











  • When I said "power", I was referring to connecting a conduit to the wall and powering that, such that anything connected to it (like lights) is powered, as you suspected. Sorry that didn't work. Once I get home, I'll do some experimenting and let you know if I find anything.

    – pushasha
    Jun 23 '16 at 17:51













14












14








14


4






The Contraptions Workshop DLC introduced a range of "Advanced switches". Playing around with these, I found the AND, OR, and XOR gates to work exactly as expected, but not the NOT, NAND, NOR and XNOR gates. Here's a fairly long explanation of what I've tried to get them to work:




This was my first attempt at using a NAND gate (which should be transmitting power unless both inputs are turned on):



Attempt 1 - NAND gate



Reading up, I discovered that the N- gates "only transmit power if their inputs are connected directly to the output of other logic gates."



My next attempt, which I expected to work based on the information above, was to have an AND gate feeding into the NOT gate as such:



Attempt 2 - AND -> NOT



But, despite the NOT gate's input coming directly from the AND gate, the NOT gate did not turn on.



The problem seemed to be that:



  • if the previous gate transferred power as its conditions were met, the NOT gate would invert the power and stay off.

  • if the previous gate's conditions were not met, no power would pass onto the NOT gate for it to be able to turn on the light.

As a final attempt, I ran the AND's output into a NAND gate instead, which I can have one input powered whilst still having it (hopefully) turn on:



Attempt 3 - AND -> NAND with power



So, from what I understand:



  1. The NAND gate should be receiving power from the generator, in order for it to be able to turn on if its conditions are met.

  2. The AND gate is not transmitting power, so the NAND gate should have its conditions met.

  3. The light is still not turning on.


My question is, how do I get these N- gates to function? What is the logic behind when they transmit power? Perhaps I'm making an obvious mistake here like wiring them wrong, or have a misunderstanding of how these gates are intended to work.










share|improve this question














The Contraptions Workshop DLC introduced a range of "Advanced switches". Playing around with these, I found the AND, OR, and XOR gates to work exactly as expected, but not the NOT, NAND, NOR and XNOR gates. Here's a fairly long explanation of what I've tried to get them to work:




This was my first attempt at using a NAND gate (which should be transmitting power unless both inputs are turned on):



Attempt 1 - NAND gate



Reading up, I discovered that the N- gates "only transmit power if their inputs are connected directly to the output of other logic gates."



My next attempt, which I expected to work based on the information above, was to have an AND gate feeding into the NOT gate as such:



Attempt 2 - AND -> NOT



But, despite the NOT gate's input coming directly from the AND gate, the NOT gate did not turn on.



The problem seemed to be that:



  • if the previous gate transferred power as its conditions were met, the NOT gate would invert the power and stay off.

  • if the previous gate's conditions were not met, no power would pass onto the NOT gate for it to be able to turn on the light.

As a final attempt, I ran the AND's output into a NAND gate instead, which I can have one input powered whilst still having it (hopefully) turn on:



Attempt 3 - AND -> NAND with power



So, from what I understand:



  1. The NAND gate should be receiving power from the generator, in order for it to be able to turn on if its conditions are met.

  2. The AND gate is not transmitting power, so the NAND gate should have its conditions met.

  3. The light is still not turning on.


My question is, how do I get these N- gates to function? What is the logic behind when they transmit power? Perhaps I'm making an obvious mistake here like wiring them wrong, or have a misunderstanding of how these gates are intended to work.







fallout-4






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jun 22 '16 at 23:41









SirBenetSirBenet

25.6k3 gold badges51 silver badges81 bronze badges




25.6k3 gold badges51 silver badges81 bronze badges












  • "if the previous gate's conditions were not met, no power would pass onto the NOT gate for it to be able to turn on the light." that seems like a design oversight...

    – l I
    Jun 22 '16 at 23:58












  • I'm starting to think this may be a power-source issue rather than an issue with the logic gate functionality. On the Bethesda support center page, it mentions that " A light lit on the top left of a gate indicates power is flowing through it. This is regardless of whether there is a True (1) Input or not". Are you seeing that light on your gates?

    – pushasha
    Jun 23 '16 at 16:18











  • If not, I'm wondering whether "powering" the wall the gates are placed on would solve that.

    – pushasha
    Jun 23 '16 at 16:20











  • @pushasha How would I power a wall? Tried connecting a conduit to the wall and powering that, but nothing seems to change. I also tried having both of the NAND's inputs coming from logic gates (2 ANDs, 1 on 1 off), but that didn't seem to work either.

    – SirBenet
    Jun 23 '16 at 17:04











  • When I said "power", I was referring to connecting a conduit to the wall and powering that, such that anything connected to it (like lights) is powered, as you suspected. Sorry that didn't work. Once I get home, I'll do some experimenting and let you know if I find anything.

    – pushasha
    Jun 23 '16 at 17:51

















  • "if the previous gate's conditions were not met, no power would pass onto the NOT gate for it to be able to turn on the light." that seems like a design oversight...

    – l I
    Jun 22 '16 at 23:58












  • I'm starting to think this may be a power-source issue rather than an issue with the logic gate functionality. On the Bethesda support center page, it mentions that " A light lit on the top left of a gate indicates power is flowing through it. This is regardless of whether there is a True (1) Input or not". Are you seeing that light on your gates?

    – pushasha
    Jun 23 '16 at 16:18











  • If not, I'm wondering whether "powering" the wall the gates are placed on would solve that.

    – pushasha
    Jun 23 '16 at 16:20











  • @pushasha How would I power a wall? Tried connecting a conduit to the wall and powering that, but nothing seems to change. I also tried having both of the NAND's inputs coming from logic gates (2 ANDs, 1 on 1 off), but that didn't seem to work either.

    – SirBenet
    Jun 23 '16 at 17:04











  • When I said "power", I was referring to connecting a conduit to the wall and powering that, such that anything connected to it (like lights) is powered, as you suspected. Sorry that didn't work. Once I get home, I'll do some experimenting and let you know if I find anything.

    – pushasha
    Jun 23 '16 at 17:51
















"if the previous gate's conditions were not met, no power would pass onto the NOT gate for it to be able to turn on the light." that seems like a design oversight...

– l I
Jun 22 '16 at 23:58






"if the previous gate's conditions were not met, no power would pass onto the NOT gate for it to be able to turn on the light." that seems like a design oversight...

– l I
Jun 22 '16 at 23:58














I'm starting to think this may be a power-source issue rather than an issue with the logic gate functionality. On the Bethesda support center page, it mentions that " A light lit on the top left of a gate indicates power is flowing through it. This is regardless of whether there is a True (1) Input or not". Are you seeing that light on your gates?

– pushasha
Jun 23 '16 at 16:18





I'm starting to think this may be a power-source issue rather than an issue with the logic gate functionality. On the Bethesda support center page, it mentions that " A light lit on the top left of a gate indicates power is flowing through it. This is regardless of whether there is a True (1) Input or not". Are you seeing that light on your gates?

– pushasha
Jun 23 '16 at 16:18













If not, I'm wondering whether "powering" the wall the gates are placed on would solve that.

– pushasha
Jun 23 '16 at 16:20





If not, I'm wondering whether "powering" the wall the gates are placed on would solve that.

– pushasha
Jun 23 '16 at 16:20













@pushasha How would I power a wall? Tried connecting a conduit to the wall and powering that, but nothing seems to change. I also tried having both of the NAND's inputs coming from logic gates (2 ANDs, 1 on 1 off), but that didn't seem to work either.

– SirBenet
Jun 23 '16 at 17:04





@pushasha How would I power a wall? Tried connecting a conduit to the wall and powering that, but nothing seems to change. I also tried having both of the NAND's inputs coming from logic gates (2 ANDs, 1 on 1 off), but that didn't seem to work either.

– SirBenet
Jun 23 '16 at 17:04













When I said "power", I was referring to connecting a conduit to the wall and powering that, such that anything connected to it (like lights) is powered, as you suspected. Sorry that didn't work. Once I get home, I'll do some experimenting and let you know if I find anything.

– pushasha
Jun 23 '16 at 17:51





When I said "power", I was referring to connecting a conduit to the wall and powering that, such that anything connected to it (like lights) is powered, as you suspected. Sorry that didn't work. Once I get home, I'll do some experimenting and let you know if I find anything.

– pushasha
Jun 23 '16 at 17:51










5 Answers
5






active

oldest

votes


















5














So, after further testing, it would appear that fallout logic isn't 100% binary. It's a bit more fickle.



In order to explain, It's easier to think of it as trinary.



Your basic binary consists of "on" and "off", or 1 and 0, respectively. Normally this would be done with packets of data that are transfered over a powered network.
However, in Fallout, power is data. This means that while ones and zeros are still important, power itself will override both. To make things easy, we will call an absolute lack of power "three"



So, in a simple setup consisting of a generator (that is constantly "1"), a switch, and a light, we can witness zeros, ones, and threes.
The generator (1) powers a switch that is on (1) that passes power to the light. (1)
When we turn the switch off, it expectedly becomes a zero. The light after it however, becomes a 3.
This is because the light does not have the capability to store power, or if it does, we cannot tell. Objects like basic switches and interval switches can be made to use power but not transmit, which is apparent in the red LEDs. Switches can never be threes unless power cannot reach them



SO, back to the problem at hand: we've been operating under the assumption that these gates require threes in order to work, when in reality they still need some power. These gates will only operate when directly connected to a 2. (A powered device in the "off" setting, like a switch.) Anything connected directly after, like conduits or poles, will be a 3 and will not transfer "off" signals to your N- gate.



TL;DR- directly connect switches with power to your N- gates and turn them off.






share|improve this answer























  • How would this work with the second image in the post? The AND switch is directly connected to power, yet the NOT switch does not seem to be receiving the type "2" power from the AND switch. Also, how would this work with OR switches, for something like (A OR B) XNOR (C OR D)? You can't connect those to any power without changing their output. Not sure if I'm understanding correctly.

    – SirBenet
    Jun 24 '16 at 17:20







  • 1





    @colorfusion I think you might be getting confused over the terminology being used. When Indrik talks about "switches", he/she means the blue switch item under the workshop's Power > Connectors & Switches section, not the logic gates. So for the second image in your question, connecting the generator to a blue switch in the "off" position, then connecting that blue switch to the NOT gate would solve it.

    – pushasha
    Jun 28 '16 at 14:59












  • The thing that still keeps tripping me up is the fact that conduits transfer the power of "true" inputs, but don't transfer that of "false" inputs. For instance, if I have switch A and switch B, where switch A is in the "on" position and switch B is in the "off" position (both connected to a generator), if switch B's output is routed through a conduit, and switch A is not, when both are connected to an OR gate, the gate's output will be false and unpowered. But if switch A's output is routed through a conduit and switch B's is not, the OR gate output will be powered and true. Ugh.

    – pushasha
    Jun 28 '16 at 15:30











  • @pushasha I think I understand: - 1. All inputs of a gate must have either power or "false power", if any inputs are completely unpowered, the gate will not work. - 2. False power must come from a switch (excluding the "advanced switches") which is connected to a power source but turned off. - 3. Conduits do not transmit false power, and will count as an unpowered input, but can transmit true power. - So, what's wrong with this? If I understand correctly, both inputs have false power, but the light is turned off. I think I'm close to understanding though.

    – SirBenet
    Jun 28 '16 at 15:51












  • @colorfusion The setup in that picture doesn't work because you're using an N-gate, and N-gates "only transmit power if their inputs are connected directly to the output of other logic gates". So one way to achieve the effect of a standalone NAND gate would be to connect both switches to an AND gate input, connect the output of that AND gate to the NAND gate input, then connect one of the two switches directly to the NAND gate input. Doesn't make a ton of sense to me, since the switch providing power to the NAND in my example isn't a logic gate, but it works for some reason...

    – pushasha
    Jun 28 '16 at 16:07



















3














For those who are still stumped a bit, let me try to help.



The principle behind logic gates is that, when you connect two, power is powering them all whether your black is lit or not. BUT, when the black outputs are lit (going into another logic gate) that's when the second logic gate takes it as a 1 instead of a zero. It's getting powered regardless.



Do this for me. Create two power sources. Connect them both to an AND gate's red input. Place a NOR gate below it. Connect the AND gates black output to the NOR gate's red Input. Optionally connect a terminal or whatever runs on power to the NOR gate's output (or just watch its black output light) Now turn only one source on.



When one source is on, the AND gate's logic is not met, so it doesn't transmit a 1 to the NOR gate. BUT. Because there is power (from the one power source that is on), it's powering the NOR gate, and the NOR gate "doesn't know what it's from". it's getting phantom power, you could say. The NOR gate has a single zero input, fulfilling its logic, and has phantom power to actually operate.



I'm not yet sure how this can be put into use yet as I'm experimenting now, but i hope it helps some of you learn how some of the logic gates work.






share|improve this answer























  • Pictures/screenshots would greatly improve this post. It's a bit confusing to read and a little unreasonable to assume that every reader will be able to follow these instructions when they find this.

    – Vemonus
    Sep 20 '16 at 21:39


















2














I've seen this myself trying to get a powered door to activate using switches on both sides. The goal was to have the door open and/or close regardless of which switch was flipped. I used a XOR gate, two switches, and a conduit to connect both sides (I was unaware of the wire-through-walls trick). I ran the wiring perfectly except the wire from the outside needed to go through a conduit to reach the gate on the inside. Whenever the outside switch was in OFF, nothing worked because the conduit would not send a "powered but off" signal to the gate. I eventually managed to coerce the wire through the wall, but it took hours to try to figure out the problem.






share|improve this answer






























    2














    I don't know if this has been completely answered or not but I was trying to make a door that had switches on both sides using a XNOR gate. To get the gate to work properly you have to complete the solution/gate prerequisite by connecting the wires to the input (the left side) and then power will flow to whatever is connected to the output (the right side). I haven't tried it with the other N gates but with the XNOR gate I powered two switches, placed them each on one side of the door, wired the switches into the input (the left side) and wired the output (the right side) into the door. Since the rule for the XNOR gate is that it transmits power when all inputs are the same, flipping one switch off shuts the door and then switching it back on opens it again, the same happens for the other side so it works as a switch operated door.






    share|improve this answer






























      1














      All logic gates require power, and their inputs and outputs can actually be in one of three possible states, demonstrated in the following table...



      State Description
      (0) -> No Connection to Power
      (1) => Connected to Power, Enabled (True)
      (2) ~> Connected to Power, Disabled (False)


      The Gotcha: (2) states only travel one connection and only certain devices can output a (2) state. For this reason, logic gates need to be directly connected to what is producing your 'Powered but Disabled' output.



      Since all logic gates require power, AT LEAST ONE input is REQUIRED to always be either (1) or (2). You can tell if a logic gate has power by the small orange light on the top left of the device. A NOR Gate (Not Or) for example, will work when the inputs are [0,2] or [2,0] or [2,2] but not [0,0] as it would be unpowered.



      Logic gates work by checking the last device's output. This is contrary to how you might expect power to behave as flowing or propagating from one connection to the next. Since only certain devices can produce a (2) state, (ie, other logic gates), in most cases this means you'll need to directly connect your input to another logic gate's output when you need a Disabled/False input.



      An easy way to remember this information is;



      • Power propagates

      • Logic checks the last connection


      Example One:



      A NAND Gate gives a powered output when both its inputs are Disabled (False). Here, both inputs are connected to a switch which is off, which produces no power. Since there is no power to the logic gate, it can't produce the expected result, which should be powered.



      Power Source (1) => Switch, Off (0) -> In 1. NAND Gate (0) => Light (0)
      Power Source (1) => Switch, Off (0) -> In 2. ^



      Example Two:



      If we swap one of the two switches from the first example with a NOT Gate, the input light on the logic gate will still be unlit, but is actually in state (2), where it is powered, but disabled. The NAND Gate now gives us the expected powered output.



      Power Source (1) => Switch, Off (0) -> In 1. NAND Gate (1) => Light (1)
      Power Source (1) => NOT Gate (2) ~> In 2. ^



      Example Three:



      A light connected directly to a NOT Gate won't turn on. But it will if it's connected to the output of a NOR Gate, where the inputs are coming from powered NOT Gates. This circuit will still work even if you disconnect one of the inputs, but as with Example One, if both inputs are removed or replaced with Switches that are set to off, the NOR Gate will no longer have power, and thus, neither will the light.



      Power Source (1) => NOT Gate (2) ~> In 1. NOR Gate (1) => Light (1)
      Power Source (1) => NOT Gate (2) ~> In 2. ^



      Example Four & Five:



      Two NOT Gates in series will produce power as expected.



      Power Source (1) => NOT Gate (2) ~> NOT Gate (1) => Light (1)


      However, if a conduit is placed between the two gates, the second NOT Gate will be checking what the input is connected to and finding it is (0), as a Power Conduit cannot produce a "Powered, Disabled" (2) state.



      Power Source (1) => NOT Gate (2) ~> Conduit (0) -> NOT Gate (0) => Light (0)



      With the above considered, if you aren't using negated gates (N-anything), you probably won't need to worry about keeping all your gates powered all the time. However, probably the most common case people are going to run into, is when they want two switches that will trigger a change in the output state when one is flicked. Logic dictates this can be accomplished with an XNOR Gate. (Equivalent to an XOR Gate followed by a NOT Gate)



      An XNOR Gate's logic/truth table follows:



      Input 1 0 0 1 1
      Input 2 0 1 0 1
      -------------------------
      Output 1 0 0 1


      You may already see the problem here; the fourth result works as expected, but in-game if you used switches that were turned off to try create the first result, the gate will have no power.



      Power Source (1) => Switch, Off (0) -> In 1. XNOR Gate (0) -> Light (0)
      Power Source (1) => Switch, Off (0) -> In 2. ^


      We can solve this by placing AND Gates between each switch and the XNOR Gate's inputs, with one of the two AND Gate's inputs permanently connected to a power source...



      Power Source (1) => Switch, Off (0) -> In 1. AND Gate (2) ~> In 1. XNOR Gate (1) => Light (1)
      Power Source (1) => ............... => In 2. ^ ^
      Power Source (1) => ............... => In 1. AND Gate (2) ~> In 2. ^
      Power Source (1) => Switch, Off (0) -> In 2. ^


      Example of a two-way switch setup in Fallout 4



      Now we have a pair of two-way switches that will activate the final output when both are on or off. Enjoy. :)






      share|improve this answer










      New contributor



      Psieonic is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





















        Your Answer








        StackExchange.ready(function()
        var channelOptions =
        tags: "".split(" "),
        id: "41"
        ;
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function()
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled)
        StackExchange.using("snippets", function()
        createEditor();
        );

        else
        createEditor();

        );

        function createEditor()
        StackExchange.prepareEditor(
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: false,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: null,
        bindNavPrevention: true,
        postfix: "",
        imageUploader:
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        ,
        noCode: true, onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        );



        );













        draft saved

        draft discarded


















        StackExchange.ready(
        function ()
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgaming.stackexchange.com%2fquestions%2f271033%2fhow-do-i-get-the-not-nand-nor-and-xnor-logic-gates-to-work%23new-answer', 'question_page');

        );

        Post as a guest















        Required, but never shown

























        5 Answers
        5






        active

        oldest

        votes








        5 Answers
        5






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        5














        So, after further testing, it would appear that fallout logic isn't 100% binary. It's a bit more fickle.



        In order to explain, It's easier to think of it as trinary.



        Your basic binary consists of "on" and "off", or 1 and 0, respectively. Normally this would be done with packets of data that are transfered over a powered network.
        However, in Fallout, power is data. This means that while ones and zeros are still important, power itself will override both. To make things easy, we will call an absolute lack of power "three"



        So, in a simple setup consisting of a generator (that is constantly "1"), a switch, and a light, we can witness zeros, ones, and threes.
        The generator (1) powers a switch that is on (1) that passes power to the light. (1)
        When we turn the switch off, it expectedly becomes a zero. The light after it however, becomes a 3.
        This is because the light does not have the capability to store power, or if it does, we cannot tell. Objects like basic switches and interval switches can be made to use power but not transmit, which is apparent in the red LEDs. Switches can never be threes unless power cannot reach them



        SO, back to the problem at hand: we've been operating under the assumption that these gates require threes in order to work, when in reality they still need some power. These gates will only operate when directly connected to a 2. (A powered device in the "off" setting, like a switch.) Anything connected directly after, like conduits or poles, will be a 3 and will not transfer "off" signals to your N- gate.



        TL;DR- directly connect switches with power to your N- gates and turn them off.






        share|improve this answer























        • How would this work with the second image in the post? The AND switch is directly connected to power, yet the NOT switch does not seem to be receiving the type "2" power from the AND switch. Also, how would this work with OR switches, for something like (A OR B) XNOR (C OR D)? You can't connect those to any power without changing their output. Not sure if I'm understanding correctly.

          – SirBenet
          Jun 24 '16 at 17:20







        • 1





          @colorfusion I think you might be getting confused over the terminology being used. When Indrik talks about "switches", he/she means the blue switch item under the workshop's Power > Connectors & Switches section, not the logic gates. So for the second image in your question, connecting the generator to a blue switch in the "off" position, then connecting that blue switch to the NOT gate would solve it.

          – pushasha
          Jun 28 '16 at 14:59












        • The thing that still keeps tripping me up is the fact that conduits transfer the power of "true" inputs, but don't transfer that of "false" inputs. For instance, if I have switch A and switch B, where switch A is in the "on" position and switch B is in the "off" position (both connected to a generator), if switch B's output is routed through a conduit, and switch A is not, when both are connected to an OR gate, the gate's output will be false and unpowered. But if switch A's output is routed through a conduit and switch B's is not, the OR gate output will be powered and true. Ugh.

          – pushasha
          Jun 28 '16 at 15:30











        • @pushasha I think I understand: - 1. All inputs of a gate must have either power or "false power", if any inputs are completely unpowered, the gate will not work. - 2. False power must come from a switch (excluding the "advanced switches") which is connected to a power source but turned off. - 3. Conduits do not transmit false power, and will count as an unpowered input, but can transmit true power. - So, what's wrong with this? If I understand correctly, both inputs have false power, but the light is turned off. I think I'm close to understanding though.

          – SirBenet
          Jun 28 '16 at 15:51












        • @colorfusion The setup in that picture doesn't work because you're using an N-gate, and N-gates "only transmit power if their inputs are connected directly to the output of other logic gates". So one way to achieve the effect of a standalone NAND gate would be to connect both switches to an AND gate input, connect the output of that AND gate to the NAND gate input, then connect one of the two switches directly to the NAND gate input. Doesn't make a ton of sense to me, since the switch providing power to the NAND in my example isn't a logic gate, but it works for some reason...

          – pushasha
          Jun 28 '16 at 16:07
















        5














        So, after further testing, it would appear that fallout logic isn't 100% binary. It's a bit more fickle.



        In order to explain, It's easier to think of it as trinary.



        Your basic binary consists of "on" and "off", or 1 and 0, respectively. Normally this would be done with packets of data that are transfered over a powered network.
        However, in Fallout, power is data. This means that while ones and zeros are still important, power itself will override both. To make things easy, we will call an absolute lack of power "three"



        So, in a simple setup consisting of a generator (that is constantly "1"), a switch, and a light, we can witness zeros, ones, and threes.
        The generator (1) powers a switch that is on (1) that passes power to the light. (1)
        When we turn the switch off, it expectedly becomes a zero. The light after it however, becomes a 3.
        This is because the light does not have the capability to store power, or if it does, we cannot tell. Objects like basic switches and interval switches can be made to use power but not transmit, which is apparent in the red LEDs. Switches can never be threes unless power cannot reach them



        SO, back to the problem at hand: we've been operating under the assumption that these gates require threes in order to work, when in reality they still need some power. These gates will only operate when directly connected to a 2. (A powered device in the "off" setting, like a switch.) Anything connected directly after, like conduits or poles, will be a 3 and will not transfer "off" signals to your N- gate.



        TL;DR- directly connect switches with power to your N- gates and turn them off.






        share|improve this answer























        • How would this work with the second image in the post? The AND switch is directly connected to power, yet the NOT switch does not seem to be receiving the type "2" power from the AND switch. Also, how would this work with OR switches, for something like (A OR B) XNOR (C OR D)? You can't connect those to any power without changing their output. Not sure if I'm understanding correctly.

          – SirBenet
          Jun 24 '16 at 17:20







        • 1





          @colorfusion I think you might be getting confused over the terminology being used. When Indrik talks about "switches", he/she means the blue switch item under the workshop's Power > Connectors & Switches section, not the logic gates. So for the second image in your question, connecting the generator to a blue switch in the "off" position, then connecting that blue switch to the NOT gate would solve it.

          – pushasha
          Jun 28 '16 at 14:59












        • The thing that still keeps tripping me up is the fact that conduits transfer the power of "true" inputs, but don't transfer that of "false" inputs. For instance, if I have switch A and switch B, where switch A is in the "on" position and switch B is in the "off" position (both connected to a generator), if switch B's output is routed through a conduit, and switch A is not, when both are connected to an OR gate, the gate's output will be false and unpowered. But if switch A's output is routed through a conduit and switch B's is not, the OR gate output will be powered and true. Ugh.

          – pushasha
          Jun 28 '16 at 15:30











        • @pushasha I think I understand: - 1. All inputs of a gate must have either power or "false power", if any inputs are completely unpowered, the gate will not work. - 2. False power must come from a switch (excluding the "advanced switches") which is connected to a power source but turned off. - 3. Conduits do not transmit false power, and will count as an unpowered input, but can transmit true power. - So, what's wrong with this? If I understand correctly, both inputs have false power, but the light is turned off. I think I'm close to understanding though.

          – SirBenet
          Jun 28 '16 at 15:51












        • @colorfusion The setup in that picture doesn't work because you're using an N-gate, and N-gates "only transmit power if their inputs are connected directly to the output of other logic gates". So one way to achieve the effect of a standalone NAND gate would be to connect both switches to an AND gate input, connect the output of that AND gate to the NAND gate input, then connect one of the two switches directly to the NAND gate input. Doesn't make a ton of sense to me, since the switch providing power to the NAND in my example isn't a logic gate, but it works for some reason...

          – pushasha
          Jun 28 '16 at 16:07














        5












        5








        5







        So, after further testing, it would appear that fallout logic isn't 100% binary. It's a bit more fickle.



        In order to explain, It's easier to think of it as trinary.



        Your basic binary consists of "on" and "off", or 1 and 0, respectively. Normally this would be done with packets of data that are transfered over a powered network.
        However, in Fallout, power is data. This means that while ones and zeros are still important, power itself will override both. To make things easy, we will call an absolute lack of power "three"



        So, in a simple setup consisting of a generator (that is constantly "1"), a switch, and a light, we can witness zeros, ones, and threes.
        The generator (1) powers a switch that is on (1) that passes power to the light. (1)
        When we turn the switch off, it expectedly becomes a zero. The light after it however, becomes a 3.
        This is because the light does not have the capability to store power, or if it does, we cannot tell. Objects like basic switches and interval switches can be made to use power but not transmit, which is apparent in the red LEDs. Switches can never be threes unless power cannot reach them



        SO, back to the problem at hand: we've been operating under the assumption that these gates require threes in order to work, when in reality they still need some power. These gates will only operate when directly connected to a 2. (A powered device in the "off" setting, like a switch.) Anything connected directly after, like conduits or poles, will be a 3 and will not transfer "off" signals to your N- gate.



        TL;DR- directly connect switches with power to your N- gates and turn them off.






        share|improve this answer













        So, after further testing, it would appear that fallout logic isn't 100% binary. It's a bit more fickle.



        In order to explain, It's easier to think of it as trinary.



        Your basic binary consists of "on" and "off", or 1 and 0, respectively. Normally this would be done with packets of data that are transfered over a powered network.
        However, in Fallout, power is data. This means that while ones and zeros are still important, power itself will override both. To make things easy, we will call an absolute lack of power "three"



        So, in a simple setup consisting of a generator (that is constantly "1"), a switch, and a light, we can witness zeros, ones, and threes.
        The generator (1) powers a switch that is on (1) that passes power to the light. (1)
        When we turn the switch off, it expectedly becomes a zero. The light after it however, becomes a 3.
        This is because the light does not have the capability to store power, or if it does, we cannot tell. Objects like basic switches and interval switches can be made to use power but not transmit, which is apparent in the red LEDs. Switches can never be threes unless power cannot reach them



        SO, back to the problem at hand: we've been operating under the assumption that these gates require threes in order to work, when in reality they still need some power. These gates will only operate when directly connected to a 2. (A powered device in the "off" setting, like a switch.) Anything connected directly after, like conduits or poles, will be a 3 and will not transfer "off" signals to your N- gate.



        TL;DR- directly connect switches with power to your N- gates and turn them off.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jun 24 '16 at 8:48









        IndrikIndrik

        511 bronze badge




        511 bronze badge












        • How would this work with the second image in the post? The AND switch is directly connected to power, yet the NOT switch does not seem to be receiving the type "2" power from the AND switch. Also, how would this work with OR switches, for something like (A OR B) XNOR (C OR D)? You can't connect those to any power without changing their output. Not sure if I'm understanding correctly.

          – SirBenet
          Jun 24 '16 at 17:20







        • 1





          @colorfusion I think you might be getting confused over the terminology being used. When Indrik talks about "switches", he/she means the blue switch item under the workshop's Power > Connectors & Switches section, not the logic gates. So for the second image in your question, connecting the generator to a blue switch in the "off" position, then connecting that blue switch to the NOT gate would solve it.

          – pushasha
          Jun 28 '16 at 14:59












        • The thing that still keeps tripping me up is the fact that conduits transfer the power of "true" inputs, but don't transfer that of "false" inputs. For instance, if I have switch A and switch B, where switch A is in the "on" position and switch B is in the "off" position (both connected to a generator), if switch B's output is routed through a conduit, and switch A is not, when both are connected to an OR gate, the gate's output will be false and unpowered. But if switch A's output is routed through a conduit and switch B's is not, the OR gate output will be powered and true. Ugh.

          – pushasha
          Jun 28 '16 at 15:30











        • @pushasha I think I understand: - 1. All inputs of a gate must have either power or "false power", if any inputs are completely unpowered, the gate will not work. - 2. False power must come from a switch (excluding the "advanced switches") which is connected to a power source but turned off. - 3. Conduits do not transmit false power, and will count as an unpowered input, but can transmit true power. - So, what's wrong with this? If I understand correctly, both inputs have false power, but the light is turned off. I think I'm close to understanding though.

          – SirBenet
          Jun 28 '16 at 15:51












        • @colorfusion The setup in that picture doesn't work because you're using an N-gate, and N-gates "only transmit power if their inputs are connected directly to the output of other logic gates". So one way to achieve the effect of a standalone NAND gate would be to connect both switches to an AND gate input, connect the output of that AND gate to the NAND gate input, then connect one of the two switches directly to the NAND gate input. Doesn't make a ton of sense to me, since the switch providing power to the NAND in my example isn't a logic gate, but it works for some reason...

          – pushasha
          Jun 28 '16 at 16:07


















        • How would this work with the second image in the post? The AND switch is directly connected to power, yet the NOT switch does not seem to be receiving the type "2" power from the AND switch. Also, how would this work with OR switches, for something like (A OR B) XNOR (C OR D)? You can't connect those to any power without changing their output. Not sure if I'm understanding correctly.

          – SirBenet
          Jun 24 '16 at 17:20







        • 1





          @colorfusion I think you might be getting confused over the terminology being used. When Indrik talks about "switches", he/she means the blue switch item under the workshop's Power > Connectors & Switches section, not the logic gates. So for the second image in your question, connecting the generator to a blue switch in the "off" position, then connecting that blue switch to the NOT gate would solve it.

          – pushasha
          Jun 28 '16 at 14:59












        • The thing that still keeps tripping me up is the fact that conduits transfer the power of "true" inputs, but don't transfer that of "false" inputs. For instance, if I have switch A and switch B, where switch A is in the "on" position and switch B is in the "off" position (both connected to a generator), if switch B's output is routed through a conduit, and switch A is not, when both are connected to an OR gate, the gate's output will be false and unpowered. But if switch A's output is routed through a conduit and switch B's is not, the OR gate output will be powered and true. Ugh.

          – pushasha
          Jun 28 '16 at 15:30











        • @pushasha I think I understand: - 1. All inputs of a gate must have either power or "false power", if any inputs are completely unpowered, the gate will not work. - 2. False power must come from a switch (excluding the "advanced switches") which is connected to a power source but turned off. - 3. Conduits do not transmit false power, and will count as an unpowered input, but can transmit true power. - So, what's wrong with this? If I understand correctly, both inputs have false power, but the light is turned off. I think I'm close to understanding though.

          – SirBenet
          Jun 28 '16 at 15:51












        • @colorfusion The setup in that picture doesn't work because you're using an N-gate, and N-gates "only transmit power if their inputs are connected directly to the output of other logic gates". So one way to achieve the effect of a standalone NAND gate would be to connect both switches to an AND gate input, connect the output of that AND gate to the NAND gate input, then connect one of the two switches directly to the NAND gate input. Doesn't make a ton of sense to me, since the switch providing power to the NAND in my example isn't a logic gate, but it works for some reason...

          – pushasha
          Jun 28 '16 at 16:07

















        How would this work with the second image in the post? The AND switch is directly connected to power, yet the NOT switch does not seem to be receiving the type "2" power from the AND switch. Also, how would this work with OR switches, for something like (A OR B) XNOR (C OR D)? You can't connect those to any power without changing their output. Not sure if I'm understanding correctly.

        – SirBenet
        Jun 24 '16 at 17:20






        How would this work with the second image in the post? The AND switch is directly connected to power, yet the NOT switch does not seem to be receiving the type "2" power from the AND switch. Also, how would this work with OR switches, for something like (A OR B) XNOR (C OR D)? You can't connect those to any power without changing their output. Not sure if I'm understanding correctly.

        – SirBenet
        Jun 24 '16 at 17:20





        1




        1





        @colorfusion I think you might be getting confused over the terminology being used. When Indrik talks about "switches", he/she means the blue switch item under the workshop's Power > Connectors & Switches section, not the logic gates. So for the second image in your question, connecting the generator to a blue switch in the "off" position, then connecting that blue switch to the NOT gate would solve it.

        – pushasha
        Jun 28 '16 at 14:59






        @colorfusion I think you might be getting confused over the terminology being used. When Indrik talks about "switches", he/she means the blue switch item under the workshop's Power > Connectors & Switches section, not the logic gates. So for the second image in your question, connecting the generator to a blue switch in the "off" position, then connecting that blue switch to the NOT gate would solve it.

        – pushasha
        Jun 28 '16 at 14:59














        The thing that still keeps tripping me up is the fact that conduits transfer the power of "true" inputs, but don't transfer that of "false" inputs. For instance, if I have switch A and switch B, where switch A is in the "on" position and switch B is in the "off" position (both connected to a generator), if switch B's output is routed through a conduit, and switch A is not, when both are connected to an OR gate, the gate's output will be false and unpowered. But if switch A's output is routed through a conduit and switch B's is not, the OR gate output will be powered and true. Ugh.

        – pushasha
        Jun 28 '16 at 15:30





        The thing that still keeps tripping me up is the fact that conduits transfer the power of "true" inputs, but don't transfer that of "false" inputs. For instance, if I have switch A and switch B, where switch A is in the "on" position and switch B is in the "off" position (both connected to a generator), if switch B's output is routed through a conduit, and switch A is not, when both are connected to an OR gate, the gate's output will be false and unpowered. But if switch A's output is routed through a conduit and switch B's is not, the OR gate output will be powered and true. Ugh.

        – pushasha
        Jun 28 '16 at 15:30













        @pushasha I think I understand: - 1. All inputs of a gate must have either power or "false power", if any inputs are completely unpowered, the gate will not work. - 2. False power must come from a switch (excluding the "advanced switches") which is connected to a power source but turned off. - 3. Conduits do not transmit false power, and will count as an unpowered input, but can transmit true power. - So, what's wrong with this? If I understand correctly, both inputs have false power, but the light is turned off. I think I'm close to understanding though.

        – SirBenet
        Jun 28 '16 at 15:51






        @pushasha I think I understand: - 1. All inputs of a gate must have either power or "false power", if any inputs are completely unpowered, the gate will not work. - 2. False power must come from a switch (excluding the "advanced switches") which is connected to a power source but turned off. - 3. Conduits do not transmit false power, and will count as an unpowered input, but can transmit true power. - So, what's wrong with this? If I understand correctly, both inputs have false power, but the light is turned off. I think I'm close to understanding though.

        – SirBenet
        Jun 28 '16 at 15:51














        @colorfusion The setup in that picture doesn't work because you're using an N-gate, and N-gates "only transmit power if their inputs are connected directly to the output of other logic gates". So one way to achieve the effect of a standalone NAND gate would be to connect both switches to an AND gate input, connect the output of that AND gate to the NAND gate input, then connect one of the two switches directly to the NAND gate input. Doesn't make a ton of sense to me, since the switch providing power to the NAND in my example isn't a logic gate, but it works for some reason...

        – pushasha
        Jun 28 '16 at 16:07






        @colorfusion The setup in that picture doesn't work because you're using an N-gate, and N-gates "only transmit power if their inputs are connected directly to the output of other logic gates". So one way to achieve the effect of a standalone NAND gate would be to connect both switches to an AND gate input, connect the output of that AND gate to the NAND gate input, then connect one of the two switches directly to the NAND gate input. Doesn't make a ton of sense to me, since the switch providing power to the NAND in my example isn't a logic gate, but it works for some reason...

        – pushasha
        Jun 28 '16 at 16:07














        3














        For those who are still stumped a bit, let me try to help.



        The principle behind logic gates is that, when you connect two, power is powering them all whether your black is lit or not. BUT, when the black outputs are lit (going into another logic gate) that's when the second logic gate takes it as a 1 instead of a zero. It's getting powered regardless.



        Do this for me. Create two power sources. Connect them both to an AND gate's red input. Place a NOR gate below it. Connect the AND gates black output to the NOR gate's red Input. Optionally connect a terminal or whatever runs on power to the NOR gate's output (or just watch its black output light) Now turn only one source on.



        When one source is on, the AND gate's logic is not met, so it doesn't transmit a 1 to the NOR gate. BUT. Because there is power (from the one power source that is on), it's powering the NOR gate, and the NOR gate "doesn't know what it's from". it's getting phantom power, you could say. The NOR gate has a single zero input, fulfilling its logic, and has phantom power to actually operate.



        I'm not yet sure how this can be put into use yet as I'm experimenting now, but i hope it helps some of you learn how some of the logic gates work.






        share|improve this answer























        • Pictures/screenshots would greatly improve this post. It's a bit confusing to read and a little unreasonable to assume that every reader will be able to follow these instructions when they find this.

          – Vemonus
          Sep 20 '16 at 21:39















        3














        For those who are still stumped a bit, let me try to help.



        The principle behind logic gates is that, when you connect two, power is powering them all whether your black is lit or not. BUT, when the black outputs are lit (going into another logic gate) that's when the second logic gate takes it as a 1 instead of a zero. It's getting powered regardless.



        Do this for me. Create two power sources. Connect them both to an AND gate's red input. Place a NOR gate below it. Connect the AND gates black output to the NOR gate's red Input. Optionally connect a terminal or whatever runs on power to the NOR gate's output (or just watch its black output light) Now turn only one source on.



        When one source is on, the AND gate's logic is not met, so it doesn't transmit a 1 to the NOR gate. BUT. Because there is power (from the one power source that is on), it's powering the NOR gate, and the NOR gate "doesn't know what it's from". it's getting phantom power, you could say. The NOR gate has a single zero input, fulfilling its logic, and has phantom power to actually operate.



        I'm not yet sure how this can be put into use yet as I'm experimenting now, but i hope it helps some of you learn how some of the logic gates work.






        share|improve this answer























        • Pictures/screenshots would greatly improve this post. It's a bit confusing to read and a little unreasonable to assume that every reader will be able to follow these instructions when they find this.

          – Vemonus
          Sep 20 '16 at 21:39













        3












        3








        3







        For those who are still stumped a bit, let me try to help.



        The principle behind logic gates is that, when you connect two, power is powering them all whether your black is lit or not. BUT, when the black outputs are lit (going into another logic gate) that's when the second logic gate takes it as a 1 instead of a zero. It's getting powered regardless.



        Do this for me. Create two power sources. Connect them both to an AND gate's red input. Place a NOR gate below it. Connect the AND gates black output to the NOR gate's red Input. Optionally connect a terminal or whatever runs on power to the NOR gate's output (or just watch its black output light) Now turn only one source on.



        When one source is on, the AND gate's logic is not met, so it doesn't transmit a 1 to the NOR gate. BUT. Because there is power (from the one power source that is on), it's powering the NOR gate, and the NOR gate "doesn't know what it's from". it's getting phantom power, you could say. The NOR gate has a single zero input, fulfilling its logic, and has phantom power to actually operate.



        I'm not yet sure how this can be put into use yet as I'm experimenting now, but i hope it helps some of you learn how some of the logic gates work.






        share|improve this answer













        For those who are still stumped a bit, let me try to help.



        The principle behind logic gates is that, when you connect two, power is powering them all whether your black is lit or not. BUT, when the black outputs are lit (going into another logic gate) that's when the second logic gate takes it as a 1 instead of a zero. It's getting powered regardless.



        Do this for me. Create two power sources. Connect them both to an AND gate's red input. Place a NOR gate below it. Connect the AND gates black output to the NOR gate's red Input. Optionally connect a terminal or whatever runs on power to the NOR gate's output (or just watch its black output light) Now turn only one source on.



        When one source is on, the AND gate's logic is not met, so it doesn't transmit a 1 to the NOR gate. BUT. Because there is power (from the one power source that is on), it's powering the NOR gate, and the NOR gate "doesn't know what it's from". it's getting phantom power, you could say. The NOR gate has a single zero input, fulfilling its logic, and has phantom power to actually operate.



        I'm not yet sure how this can be put into use yet as I'm experimenting now, but i hope it helps some of you learn how some of the logic gates work.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Sep 20 '16 at 21:36









        Doc FoxxDoc Foxx

        311 bronze badge




        311 bronze badge












        • Pictures/screenshots would greatly improve this post. It's a bit confusing to read and a little unreasonable to assume that every reader will be able to follow these instructions when they find this.

          – Vemonus
          Sep 20 '16 at 21:39

















        • Pictures/screenshots would greatly improve this post. It's a bit confusing to read and a little unreasonable to assume that every reader will be able to follow these instructions when they find this.

          – Vemonus
          Sep 20 '16 at 21:39
















        Pictures/screenshots would greatly improve this post. It's a bit confusing to read and a little unreasonable to assume that every reader will be able to follow these instructions when they find this.

        – Vemonus
        Sep 20 '16 at 21:39





        Pictures/screenshots would greatly improve this post. It's a bit confusing to read and a little unreasonable to assume that every reader will be able to follow these instructions when they find this.

        – Vemonus
        Sep 20 '16 at 21:39











        2














        I've seen this myself trying to get a powered door to activate using switches on both sides. The goal was to have the door open and/or close regardless of which switch was flipped. I used a XOR gate, two switches, and a conduit to connect both sides (I was unaware of the wire-through-walls trick). I ran the wiring perfectly except the wire from the outside needed to go through a conduit to reach the gate on the inside. Whenever the outside switch was in OFF, nothing worked because the conduit would not send a "powered but off" signal to the gate. I eventually managed to coerce the wire through the wall, but it took hours to try to figure out the problem.






        share|improve this answer



























          2














          I've seen this myself trying to get a powered door to activate using switches on both sides. The goal was to have the door open and/or close regardless of which switch was flipped. I used a XOR gate, two switches, and a conduit to connect both sides (I was unaware of the wire-through-walls trick). I ran the wiring perfectly except the wire from the outside needed to go through a conduit to reach the gate on the inside. Whenever the outside switch was in OFF, nothing worked because the conduit would not send a "powered but off" signal to the gate. I eventually managed to coerce the wire through the wall, but it took hours to try to figure out the problem.






          share|improve this answer

























            2












            2








            2







            I've seen this myself trying to get a powered door to activate using switches on both sides. The goal was to have the door open and/or close regardless of which switch was flipped. I used a XOR gate, two switches, and a conduit to connect both sides (I was unaware of the wire-through-walls trick). I ran the wiring perfectly except the wire from the outside needed to go through a conduit to reach the gate on the inside. Whenever the outside switch was in OFF, nothing worked because the conduit would not send a "powered but off" signal to the gate. I eventually managed to coerce the wire through the wall, but it took hours to try to figure out the problem.






            share|improve this answer













            I've seen this myself trying to get a powered door to activate using switches on both sides. The goal was to have the door open and/or close regardless of which switch was flipped. I used a XOR gate, two switches, and a conduit to connect both sides (I was unaware of the wire-through-walls trick). I ran the wiring perfectly except the wire from the outside needed to go through a conduit to reach the gate on the inside. Whenever the outside switch was in OFF, nothing worked because the conduit would not send a "powered but off" signal to the gate. I eventually managed to coerce the wire through the wall, but it took hours to try to figure out the problem.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jun 24 '16 at 18:24









            JonJon

            211 bronze badge




            211 bronze badge





















                2














                I don't know if this has been completely answered or not but I was trying to make a door that had switches on both sides using a XNOR gate. To get the gate to work properly you have to complete the solution/gate prerequisite by connecting the wires to the input (the left side) and then power will flow to whatever is connected to the output (the right side). I haven't tried it with the other N gates but with the XNOR gate I powered two switches, placed them each on one side of the door, wired the switches into the input (the left side) and wired the output (the right side) into the door. Since the rule for the XNOR gate is that it transmits power when all inputs are the same, flipping one switch off shuts the door and then switching it back on opens it again, the same happens for the other side so it works as a switch operated door.






                share|improve this answer



























                  2














                  I don't know if this has been completely answered or not but I was trying to make a door that had switches on both sides using a XNOR gate. To get the gate to work properly you have to complete the solution/gate prerequisite by connecting the wires to the input (the left side) and then power will flow to whatever is connected to the output (the right side). I haven't tried it with the other N gates but with the XNOR gate I powered two switches, placed them each on one side of the door, wired the switches into the input (the left side) and wired the output (the right side) into the door. Since the rule for the XNOR gate is that it transmits power when all inputs are the same, flipping one switch off shuts the door and then switching it back on opens it again, the same happens for the other side so it works as a switch operated door.






                  share|improve this answer

























                    2












                    2








                    2







                    I don't know if this has been completely answered or not but I was trying to make a door that had switches on both sides using a XNOR gate. To get the gate to work properly you have to complete the solution/gate prerequisite by connecting the wires to the input (the left side) and then power will flow to whatever is connected to the output (the right side). I haven't tried it with the other N gates but with the XNOR gate I powered two switches, placed them each on one side of the door, wired the switches into the input (the left side) and wired the output (the right side) into the door. Since the rule for the XNOR gate is that it transmits power when all inputs are the same, flipping one switch off shuts the door and then switching it back on opens it again, the same happens for the other side so it works as a switch operated door.






                    share|improve this answer













                    I don't know if this has been completely answered or not but I was trying to make a door that had switches on both sides using a XNOR gate. To get the gate to work properly you have to complete the solution/gate prerequisite by connecting the wires to the input (the left side) and then power will flow to whatever is connected to the output (the right side). I haven't tried it with the other N gates but with the XNOR gate I powered two switches, placed them each on one side of the door, wired the switches into the input (the left side) and wired the output (the right side) into the door. Since the rule for the XNOR gate is that it transmits power when all inputs are the same, flipping one switch off shuts the door and then switching it back on opens it again, the same happens for the other side so it works as a switch operated door.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Aug 9 '16 at 18:56









                    Dylan S GreerDylan S Greer

                    211 bronze badge




                    211 bronze badge





















                        1














                        All logic gates require power, and their inputs and outputs can actually be in one of three possible states, demonstrated in the following table...



                        State Description
                        (0) -> No Connection to Power
                        (1) => Connected to Power, Enabled (True)
                        (2) ~> Connected to Power, Disabled (False)


                        The Gotcha: (2) states only travel one connection and only certain devices can output a (2) state. For this reason, logic gates need to be directly connected to what is producing your 'Powered but Disabled' output.



                        Since all logic gates require power, AT LEAST ONE input is REQUIRED to always be either (1) or (2). You can tell if a logic gate has power by the small orange light on the top left of the device. A NOR Gate (Not Or) for example, will work when the inputs are [0,2] or [2,0] or [2,2] but not [0,0] as it would be unpowered.



                        Logic gates work by checking the last device's output. This is contrary to how you might expect power to behave as flowing or propagating from one connection to the next. Since only certain devices can produce a (2) state, (ie, other logic gates), in most cases this means you'll need to directly connect your input to another logic gate's output when you need a Disabled/False input.



                        An easy way to remember this information is;



                        • Power propagates

                        • Logic checks the last connection


                        Example One:



                        A NAND Gate gives a powered output when both its inputs are Disabled (False). Here, both inputs are connected to a switch which is off, which produces no power. Since there is no power to the logic gate, it can't produce the expected result, which should be powered.



                        Power Source (1) => Switch, Off (0) -> In 1. NAND Gate (0) => Light (0)
                        Power Source (1) => Switch, Off (0) -> In 2. ^



                        Example Two:



                        If we swap one of the two switches from the first example with a NOT Gate, the input light on the logic gate will still be unlit, but is actually in state (2), where it is powered, but disabled. The NAND Gate now gives us the expected powered output.



                        Power Source (1) => Switch, Off (0) -> In 1. NAND Gate (1) => Light (1)
                        Power Source (1) => NOT Gate (2) ~> In 2. ^



                        Example Three:



                        A light connected directly to a NOT Gate won't turn on. But it will if it's connected to the output of a NOR Gate, where the inputs are coming from powered NOT Gates. This circuit will still work even if you disconnect one of the inputs, but as with Example One, if both inputs are removed or replaced with Switches that are set to off, the NOR Gate will no longer have power, and thus, neither will the light.



                        Power Source (1) => NOT Gate (2) ~> In 1. NOR Gate (1) => Light (1)
                        Power Source (1) => NOT Gate (2) ~> In 2. ^



                        Example Four & Five:



                        Two NOT Gates in series will produce power as expected.



                        Power Source (1) => NOT Gate (2) ~> NOT Gate (1) => Light (1)


                        However, if a conduit is placed between the two gates, the second NOT Gate will be checking what the input is connected to and finding it is (0), as a Power Conduit cannot produce a "Powered, Disabled" (2) state.



                        Power Source (1) => NOT Gate (2) ~> Conduit (0) -> NOT Gate (0) => Light (0)



                        With the above considered, if you aren't using negated gates (N-anything), you probably won't need to worry about keeping all your gates powered all the time. However, probably the most common case people are going to run into, is when they want two switches that will trigger a change in the output state when one is flicked. Logic dictates this can be accomplished with an XNOR Gate. (Equivalent to an XOR Gate followed by a NOT Gate)



                        An XNOR Gate's logic/truth table follows:



                        Input 1 0 0 1 1
                        Input 2 0 1 0 1
                        -------------------------
                        Output 1 0 0 1


                        You may already see the problem here; the fourth result works as expected, but in-game if you used switches that were turned off to try create the first result, the gate will have no power.



                        Power Source (1) => Switch, Off (0) -> In 1. XNOR Gate (0) -> Light (0)
                        Power Source (1) => Switch, Off (0) -> In 2. ^


                        We can solve this by placing AND Gates between each switch and the XNOR Gate's inputs, with one of the two AND Gate's inputs permanently connected to a power source...



                        Power Source (1) => Switch, Off (0) -> In 1. AND Gate (2) ~> In 1. XNOR Gate (1) => Light (1)
                        Power Source (1) => ............... => In 2. ^ ^
                        Power Source (1) => ............... => In 1. AND Gate (2) ~> In 2. ^
                        Power Source (1) => Switch, Off (0) -> In 2. ^


                        Example of a two-way switch setup in Fallout 4



                        Now we have a pair of two-way switches that will activate the final output when both are on or off. Enjoy. :)






                        share|improve this answer










                        New contributor



                        Psieonic is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.























                          1














                          All logic gates require power, and their inputs and outputs can actually be in one of three possible states, demonstrated in the following table...



                          State Description
                          (0) -> No Connection to Power
                          (1) => Connected to Power, Enabled (True)
                          (2) ~> Connected to Power, Disabled (False)


                          The Gotcha: (2) states only travel one connection and only certain devices can output a (2) state. For this reason, logic gates need to be directly connected to what is producing your 'Powered but Disabled' output.



                          Since all logic gates require power, AT LEAST ONE input is REQUIRED to always be either (1) or (2). You can tell if a logic gate has power by the small orange light on the top left of the device. A NOR Gate (Not Or) for example, will work when the inputs are [0,2] or [2,0] or [2,2] but not [0,0] as it would be unpowered.



                          Logic gates work by checking the last device's output. This is contrary to how you might expect power to behave as flowing or propagating from one connection to the next. Since only certain devices can produce a (2) state, (ie, other logic gates), in most cases this means you'll need to directly connect your input to another logic gate's output when you need a Disabled/False input.



                          An easy way to remember this information is;



                          • Power propagates

                          • Logic checks the last connection


                          Example One:



                          A NAND Gate gives a powered output when both its inputs are Disabled (False). Here, both inputs are connected to a switch which is off, which produces no power. Since there is no power to the logic gate, it can't produce the expected result, which should be powered.



                          Power Source (1) => Switch, Off (0) -> In 1. NAND Gate (0) => Light (0)
                          Power Source (1) => Switch, Off (0) -> In 2. ^



                          Example Two:



                          If we swap one of the two switches from the first example with a NOT Gate, the input light on the logic gate will still be unlit, but is actually in state (2), where it is powered, but disabled. The NAND Gate now gives us the expected powered output.



                          Power Source (1) => Switch, Off (0) -> In 1. NAND Gate (1) => Light (1)
                          Power Source (1) => NOT Gate (2) ~> In 2. ^



                          Example Three:



                          A light connected directly to a NOT Gate won't turn on. But it will if it's connected to the output of a NOR Gate, where the inputs are coming from powered NOT Gates. This circuit will still work even if you disconnect one of the inputs, but as with Example One, if both inputs are removed or replaced with Switches that are set to off, the NOR Gate will no longer have power, and thus, neither will the light.



                          Power Source (1) => NOT Gate (2) ~> In 1. NOR Gate (1) => Light (1)
                          Power Source (1) => NOT Gate (2) ~> In 2. ^



                          Example Four & Five:



                          Two NOT Gates in series will produce power as expected.



                          Power Source (1) => NOT Gate (2) ~> NOT Gate (1) => Light (1)


                          However, if a conduit is placed between the two gates, the second NOT Gate will be checking what the input is connected to and finding it is (0), as a Power Conduit cannot produce a "Powered, Disabled" (2) state.



                          Power Source (1) => NOT Gate (2) ~> Conduit (0) -> NOT Gate (0) => Light (0)



                          With the above considered, if you aren't using negated gates (N-anything), you probably won't need to worry about keeping all your gates powered all the time. However, probably the most common case people are going to run into, is when they want two switches that will trigger a change in the output state when one is flicked. Logic dictates this can be accomplished with an XNOR Gate. (Equivalent to an XOR Gate followed by a NOT Gate)



                          An XNOR Gate's logic/truth table follows:



                          Input 1 0 0 1 1
                          Input 2 0 1 0 1
                          -------------------------
                          Output 1 0 0 1


                          You may already see the problem here; the fourth result works as expected, but in-game if you used switches that were turned off to try create the first result, the gate will have no power.



                          Power Source (1) => Switch, Off (0) -> In 1. XNOR Gate (0) -> Light (0)
                          Power Source (1) => Switch, Off (0) -> In 2. ^


                          We can solve this by placing AND Gates between each switch and the XNOR Gate's inputs, with one of the two AND Gate's inputs permanently connected to a power source...



                          Power Source (1) => Switch, Off (0) -> In 1. AND Gate (2) ~> In 1. XNOR Gate (1) => Light (1)
                          Power Source (1) => ............... => In 2. ^ ^
                          Power Source (1) => ............... => In 1. AND Gate (2) ~> In 2. ^
                          Power Source (1) => Switch, Off (0) -> In 2. ^


                          Example of a two-way switch setup in Fallout 4



                          Now we have a pair of two-way switches that will activate the final output when both are on or off. Enjoy. :)






                          share|improve this answer










                          New contributor



                          Psieonic is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.





















                            1












                            1








                            1







                            All logic gates require power, and their inputs and outputs can actually be in one of three possible states, demonstrated in the following table...



                            State Description
                            (0) -> No Connection to Power
                            (1) => Connected to Power, Enabled (True)
                            (2) ~> Connected to Power, Disabled (False)


                            The Gotcha: (2) states only travel one connection and only certain devices can output a (2) state. For this reason, logic gates need to be directly connected to what is producing your 'Powered but Disabled' output.



                            Since all logic gates require power, AT LEAST ONE input is REQUIRED to always be either (1) or (2). You can tell if a logic gate has power by the small orange light on the top left of the device. A NOR Gate (Not Or) for example, will work when the inputs are [0,2] or [2,0] or [2,2] but not [0,0] as it would be unpowered.



                            Logic gates work by checking the last device's output. This is contrary to how you might expect power to behave as flowing or propagating from one connection to the next. Since only certain devices can produce a (2) state, (ie, other logic gates), in most cases this means you'll need to directly connect your input to another logic gate's output when you need a Disabled/False input.



                            An easy way to remember this information is;



                            • Power propagates

                            • Logic checks the last connection


                            Example One:



                            A NAND Gate gives a powered output when both its inputs are Disabled (False). Here, both inputs are connected to a switch which is off, which produces no power. Since there is no power to the logic gate, it can't produce the expected result, which should be powered.



                            Power Source (1) => Switch, Off (0) -> In 1. NAND Gate (0) => Light (0)
                            Power Source (1) => Switch, Off (0) -> In 2. ^



                            Example Two:



                            If we swap one of the two switches from the first example with a NOT Gate, the input light on the logic gate will still be unlit, but is actually in state (2), where it is powered, but disabled. The NAND Gate now gives us the expected powered output.



                            Power Source (1) => Switch, Off (0) -> In 1. NAND Gate (1) => Light (1)
                            Power Source (1) => NOT Gate (2) ~> In 2. ^



                            Example Three:



                            A light connected directly to a NOT Gate won't turn on. But it will if it's connected to the output of a NOR Gate, where the inputs are coming from powered NOT Gates. This circuit will still work even if you disconnect one of the inputs, but as with Example One, if both inputs are removed or replaced with Switches that are set to off, the NOR Gate will no longer have power, and thus, neither will the light.



                            Power Source (1) => NOT Gate (2) ~> In 1. NOR Gate (1) => Light (1)
                            Power Source (1) => NOT Gate (2) ~> In 2. ^



                            Example Four & Five:



                            Two NOT Gates in series will produce power as expected.



                            Power Source (1) => NOT Gate (2) ~> NOT Gate (1) => Light (1)


                            However, if a conduit is placed between the two gates, the second NOT Gate will be checking what the input is connected to and finding it is (0), as a Power Conduit cannot produce a "Powered, Disabled" (2) state.



                            Power Source (1) => NOT Gate (2) ~> Conduit (0) -> NOT Gate (0) => Light (0)



                            With the above considered, if you aren't using negated gates (N-anything), you probably won't need to worry about keeping all your gates powered all the time. However, probably the most common case people are going to run into, is when they want two switches that will trigger a change in the output state when one is flicked. Logic dictates this can be accomplished with an XNOR Gate. (Equivalent to an XOR Gate followed by a NOT Gate)



                            An XNOR Gate's logic/truth table follows:



                            Input 1 0 0 1 1
                            Input 2 0 1 0 1
                            -------------------------
                            Output 1 0 0 1


                            You may already see the problem here; the fourth result works as expected, but in-game if you used switches that were turned off to try create the first result, the gate will have no power.



                            Power Source (1) => Switch, Off (0) -> In 1. XNOR Gate (0) -> Light (0)
                            Power Source (1) => Switch, Off (0) -> In 2. ^


                            We can solve this by placing AND Gates between each switch and the XNOR Gate's inputs, with one of the two AND Gate's inputs permanently connected to a power source...



                            Power Source (1) => Switch, Off (0) -> In 1. AND Gate (2) ~> In 1. XNOR Gate (1) => Light (1)
                            Power Source (1) => ............... => In 2. ^ ^
                            Power Source (1) => ............... => In 1. AND Gate (2) ~> In 2. ^
                            Power Source (1) => Switch, Off (0) -> In 2. ^


                            Example of a two-way switch setup in Fallout 4



                            Now we have a pair of two-way switches that will activate the final output when both are on or off. Enjoy. :)






                            share|improve this answer










                            New contributor



                            Psieonic is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.









                            All logic gates require power, and their inputs and outputs can actually be in one of three possible states, demonstrated in the following table...



                            State Description
                            (0) -> No Connection to Power
                            (1) => Connected to Power, Enabled (True)
                            (2) ~> Connected to Power, Disabled (False)


                            The Gotcha: (2) states only travel one connection and only certain devices can output a (2) state. For this reason, logic gates need to be directly connected to what is producing your 'Powered but Disabled' output.



                            Since all logic gates require power, AT LEAST ONE input is REQUIRED to always be either (1) or (2). You can tell if a logic gate has power by the small orange light on the top left of the device. A NOR Gate (Not Or) for example, will work when the inputs are [0,2] or [2,0] or [2,2] but not [0,0] as it would be unpowered.



                            Logic gates work by checking the last device's output. This is contrary to how you might expect power to behave as flowing or propagating from one connection to the next. Since only certain devices can produce a (2) state, (ie, other logic gates), in most cases this means you'll need to directly connect your input to another logic gate's output when you need a Disabled/False input.



                            An easy way to remember this information is;



                            • Power propagates

                            • Logic checks the last connection


                            Example One:



                            A NAND Gate gives a powered output when both its inputs are Disabled (False). Here, both inputs are connected to a switch which is off, which produces no power. Since there is no power to the logic gate, it can't produce the expected result, which should be powered.



                            Power Source (1) => Switch, Off (0) -> In 1. NAND Gate (0) => Light (0)
                            Power Source (1) => Switch, Off (0) -> In 2. ^



                            Example Two:



                            If we swap one of the two switches from the first example with a NOT Gate, the input light on the logic gate will still be unlit, but is actually in state (2), where it is powered, but disabled. The NAND Gate now gives us the expected powered output.



                            Power Source (1) => Switch, Off (0) -> In 1. NAND Gate (1) => Light (1)
                            Power Source (1) => NOT Gate (2) ~> In 2. ^



                            Example Three:



                            A light connected directly to a NOT Gate won't turn on. But it will if it's connected to the output of a NOR Gate, where the inputs are coming from powered NOT Gates. This circuit will still work even if you disconnect one of the inputs, but as with Example One, if both inputs are removed or replaced with Switches that are set to off, the NOR Gate will no longer have power, and thus, neither will the light.



                            Power Source (1) => NOT Gate (2) ~> In 1. NOR Gate (1) => Light (1)
                            Power Source (1) => NOT Gate (2) ~> In 2. ^



                            Example Four & Five:



                            Two NOT Gates in series will produce power as expected.



                            Power Source (1) => NOT Gate (2) ~> NOT Gate (1) => Light (1)


                            However, if a conduit is placed between the two gates, the second NOT Gate will be checking what the input is connected to and finding it is (0), as a Power Conduit cannot produce a "Powered, Disabled" (2) state.



                            Power Source (1) => NOT Gate (2) ~> Conduit (0) -> NOT Gate (0) => Light (0)



                            With the above considered, if you aren't using negated gates (N-anything), you probably won't need to worry about keeping all your gates powered all the time. However, probably the most common case people are going to run into, is when they want two switches that will trigger a change in the output state when one is flicked. Logic dictates this can be accomplished with an XNOR Gate. (Equivalent to an XOR Gate followed by a NOT Gate)



                            An XNOR Gate's logic/truth table follows:



                            Input 1 0 0 1 1
                            Input 2 0 1 0 1
                            -------------------------
                            Output 1 0 0 1


                            You may already see the problem here; the fourth result works as expected, but in-game if you used switches that were turned off to try create the first result, the gate will have no power.



                            Power Source (1) => Switch, Off (0) -> In 1. XNOR Gate (0) -> Light (0)
                            Power Source (1) => Switch, Off (0) -> In 2. ^


                            We can solve this by placing AND Gates between each switch and the XNOR Gate's inputs, with one of the two AND Gate's inputs permanently connected to a power source...



                            Power Source (1) => Switch, Off (0) -> In 1. AND Gate (2) ~> In 1. XNOR Gate (1) => Light (1)
                            Power Source (1) => ............... => In 2. ^ ^
                            Power Source (1) => ............... => In 1. AND Gate (2) ~> In 2. ^
                            Power Source (1) => Switch, Off (0) -> In 2. ^


                            Example of a two-way switch setup in Fallout 4



                            Now we have a pair of two-way switches that will activate the final output when both are on or off. Enjoy. :)







                            share|improve this answer










                            New contributor



                            Psieonic is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.








                            share|improve this answer



                            share|improve this answer








                            edited 17 mins ago





















                            New contributor



                            Psieonic is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.








                            answered 43 mins ago









                            PsieonicPsieonic

                            112 bronze badges




                            112 bronze badges




                            New contributor



                            Psieonic is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.




                            New contributor




                            Psieonic is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.





























                                draft saved

                                draft discarded
















































                                Thanks for contributing an answer to Arqade!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid


                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.

                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function ()
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgaming.stackexchange.com%2fquestions%2f271033%2fhow-do-i-get-the-not-nand-nor-and-xnor-logic-gates-to-work%23new-answer', 'question_page');

                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                19. јануар Садржај Догађаји Рођења Смрти Празници и дани сећања Види још Референце Мени за навигацијуу

                                Israel Cuprins Etimologie | Istorie | Geografie | Politică | Demografie | Educație | Economie | Cultură | Note explicative | Note bibliografice | Bibliografie | Legături externe | Meniu de navigaresite web oficialfacebooktweeterGoogle+Instagramcanal YouTubeInstagramtextmodificaremodificarewww.technion.ac.ilnew.huji.ac.ilwww.weizmann.ac.ilwww1.biu.ac.ilenglish.tau.ac.ilwww.haifa.ac.ilin.bgu.ac.ilwww.openu.ac.ilwww.ariel.ac.ilCIA FactbookHarta Israelului"Negotiating Jerusalem," Palestine–Israel JournalThe Schizoid Nature of Modern Hebrew: A Slavic Language in Search of a Semitic Past„Arabic in Israel: an official language and a cultural bridge”„Latest Population Statistics for Israel”„Israel Population”„Tables”„Report for Selected Countries and Subjects”Human Development Report 2016: Human Development for Everyone„Distribution of family income - Gini index”The World FactbookJerusalem Law„Israel”„Israel”„Zionist Leaders: David Ben-Gurion 1886–1973”„The status of Jerusalem”„Analysis: Kadima's big plans”„Israel's Hard-Learned Lessons”„The Legacy of Undefined Borders, Tel Aviv Notes No. 40, 5 iunie 2002”„Israel Journal: A Land Without Borders”„Population”„Israel closes decade with population of 7.5 million”Time Series-DataBank„Selected Statistics on Jerusalem Day 2007 (Hebrew)”Golan belongs to Syria, Druze protestGlobal Survey 2006: Middle East Progress Amid Global Gains in FreedomWHO: Life expectancy in Israel among highest in the worldInternational Monetary Fund, World Economic Outlook Database, April 2011: Nominal GDP list of countries. Data for the year 2010.„Israel's accession to the OECD”Popular Opinion„On the Move”Hosea 12:5„Walking the Bible Timeline”„Palestine: History”„Return to Zion”An invention called 'the Jewish people' – Haaretz – Israel NewsoriginalJewish and Non-Jewish Population of Palestine-Israel (1517–2004)ImmigrationJewishvirtuallibrary.orgChapter One: The Heralders of Zionism„The birth of modern Israel: A scrap of paper that changed history”„League of Nations: The Mandate for Palestine, 24 iulie 1922”The Population of Palestine Prior to 1948originalBackground Paper No. 47 (ST/DPI/SER.A/47)History: Foreign DominationTwo Hundred and Seventh Plenary Meeting„Israel (Labor Zionism)”Population, by Religion and Population GroupThe Suez CrisisAdolf EichmannJustice Ministry Reply to Amnesty International Report„The Interregnum”Israel Ministry of Foreign Affairs – The Palestinian National Covenant- July 1968Research on terrorism: trends, achievements & failuresThe Routledge Atlas of the Arab–Israeli conflict: The Complete History of the Struggle and the Efforts to Resolve It"George Habash, Palestinian Terrorism Tactician, Dies at 82."„1973: Arab states attack Israeli forces”Agranat Commission„Has Israel Annexed East Jerusalem?”original„After 4 Years, Intifada Still Smolders”From the End of the Cold War to 2001originalThe Oslo Accords, 1993Israel-PLO Recognition – Exchange of Letters between PM Rabin and Chairman Arafat – Sept 9- 1993Foundation for Middle East PeaceSources of Population Growth: Total Israeli Population and Settler Population, 1991–2003original„Israel marks Rabin assassination”The Wye River Memorandumoriginal„West Bank barrier route disputed, Israeli missile kills 2”"Permanent Ceasefire to Be Based on Creation Of Buffer Zone Free of Armed Personnel Other than UN, Lebanese Forces"„Hezbollah kills 8 soldiers, kidnaps two in offensive on northern border”„Olmert confirms peace talks with Syria”„Battleground Gaza: Israeli ground forces invade the strip”„IDF begins Gaza troop withdrawal, hours after ending 3-week offensive”„THE LAND: Geography and Climate”„Area of districts, sub-districts, natural regions and lakes”„Israel - Geography”„Makhteshim Country”Israel and the Palestinian Territories„Makhtesh Ramon”„The Living Dead Sea”„Temperatures reach record high in Pakistan”„Climate Extremes In Israel”Israel in figures„Deuteronom”„JNF: 240 million trees planted since 1901”„Vegetation of Israel and Neighboring Countries”Environmental Law in Israel„Executive branch”„Israel's election process explained”„The Electoral System in Israel”„Constitution for Israel”„All 120 incoming Knesset members”„Statul ISRAEL”„The Judiciary: The Court System”„Israel's high court unique in region”„Israel and the International Criminal Court: A Legal Battlefield”„Localities and population, by population group, district, sub-district and natural region”„Israel: Districts, Major Cities, Urban Localities & Metropolitan Areas”„Israel-Egypt Relations: Background & Overview of Peace Treaty”„Solana to Haaretz: New Rules of War Needed for Age of Terror”„Israel's Announcement Regarding Settlements”„United Nations Security Council Resolution 497”„Security Council resolution 478 (1980) on the status of Jerusalem”„Arabs will ask U.N. to seek razing of Israeli wall”„Olmert: Willing to trade land for peace”„Mapping Peace between Syria and Israel”„Egypt: Israel must accept the land-for-peace formula”„Israel: Age structure from 2005 to 2015”„Global, regional, and national disability-adjusted life years (DALYs) for 306 diseases and injuries and healthy life expectancy (HALE) for 188 countries, 1990–2013: quantifying the epidemiological transition”10.1016/S0140-6736(15)61340-X„World Health Statistics 2014”„Life expectancy for Israeli men world's 4th highest”„Family Structure and Well-Being Across Israel's Diverse Population”„Fertility among Jewish and Muslim Women in Israel, by Level of Religiosity, 1979-2009”„Israel leaders in birth rate, but poverty major challenge”„Ethnic Groups”„Israel's population: Over 8.5 million”„Israel - Ethnic groups”„Jews, by country of origin and age”„Minority Communities in Israel: Background & Overview”„Israel”„Language in Israel”„Selected Data from the 2011 Social Survey on Mastery of the Hebrew Language and Usage of Languages”„Religions”„5 facts about Israeli Druze, a unique religious and ethnic group”„Israël”Israel Country Study Guide„Haredi city in Negev – blessing or curse?”„New town Harish harbors hopes of being more than another Pleasantville”„List of localities, in alphabetical order”„Muncitorii români, doriți în Israel”„Prietenia româno-israeliană la nevoie se cunoaște”„The Higher Education System in Israel”„Middle East”„Academic Ranking of World Universities 2016”„Israel”„Israel”„Jewish Nobel Prize Winners”„All Nobel Prizes in Literature”„All Nobel Peace Prizes”„All Prizes in Economic Sciences”„All Nobel Prizes in Chemistry”„List of Fields Medallists”„Sakharov Prize”„Țara care și-a sfidat "destinul" și se bate umăr la umăr cu Silicon Valley”„Apple's R&D center in Israel grew to about 800 employees”„Tim Cook: Apple's Herzliya R&D center second-largest in world”„Lecții de economie de la Israel”„Land use”Israel Investment and Business GuideA Country Study: IsraelCentral Bureau of StatisticsFlorin Diaconu, „Kadima: Flexibilitate și pragmatism, dar nici un compromis în chestiuni vitale", în Revista Institutului Diplomatic Român, anul I, numărul I, semestrul I, 2006, pp. 71-72Florin Diaconu, „Likud: Dreapta israeliană constant opusă retrocedării teritoriilor cureite prin luptă în 1967", în Revista Institutului Diplomatic Român, anul I, numărul I, semestrul I, 2006, pp. 73-74MassadaIsraelul a crescut in 50 de ani cât alte state intr-un mileniuIsrael Government PortalIsraelIsraelIsraelmmmmmXX451232cb118646298(data)4027808-634110000 0004 0372 0767n7900328503691455-bb46-37e3-91d2-cb064a35ffcc1003570400564274ge1294033523775214929302638955X146498911146498911

                                Кастелфранко ди Сопра Становништво Референце Спољашње везе Мени за навигацију43°37′18″ СГШ; 11°33′32″ ИГД / 43.62156° СГШ; 11.55885° ИГД / 43.62156; 11.5588543°37′18″ СГШ; 11°33′32″ ИГД / 43.62156° СГШ; 11.55885° ИГД / 43.62156; 11.558853179688„The GeoNames geographical database”„Istituto Nazionale di Statistica”проширитиууWorldCat156923403n850174324558639-1cb14643287r(подаци)