🔙 Back to Relay Symbols and Functions
To build an OR Gate from relays, we put two parts in parallel. These parts can either be individual gates or larger combinations of gates. The key point is that only one part needs to be activated for the output to be activated. This means that if either part is activated, the output will be activated. In a relay-based OR gate, we can use normally open (NO) contacts for both parts. When either NO contact is closed (activated), the circuit is completed and the output is activated. If both NO contacts are open (not activated), the circuit remains incomplete and the output is not activated. This configuration allows us to implement the logical OR function using relays.
The OR gate works by requiring at least one input to be true (activated) for the output to be true (activated). In a relay-based OR gate, we can use two normally open (NO) contacts in parallel. When either NO contact is closed (activated), the circuit is completed and the output is activated. If both NO contacts are open (not activated), the circuit remains incomplete and the output is not activated. This behavior allows us to implement the logical OR function using relays, where the output is activated when at least one input is activated.
The table below shows how a OR Gate behaves:
| Input A | Input B | Output |
|---|---|---|
| False (Not Activated) | False (Not Activated) | False (Not Activated) |
| False (Not Activated) | True (Activated) | True (Activated) |
| True (Activated) | False (Not Activated) | True (Activated) |
| True (Activated) | True (Activated) | True (Activated) |
| Fluid Sim | In fluid sim we can make an OR gate by putting components in parallel, this means that we take the output of one component and connect it to the input of another component. For example, we can take the output of a NO contact and connect it to the input of another NO contact. This means that either NO contact can be activated for the signal to flow through the circuit and activate the output. |
|---|---|
| Lab Bench | On the lab benches, we have sets of festo relay boxes. We can use these boxes to create an OR gate by connecting two NO contacts in parallel. This means that either NO contact can be activated for the output to be activated. For example, we can connect the output of the first NO contact to the input of the second NO contact. This way, when either NO contact is activated, the circuit is completed and the output is activated. |