# Or

The Or component performs a logical OR on all valid inputs and writes the Boolean result to the Out property. The first table below shows the OR object truth table if using two inputs. The second table below shows the OR object truth table if using all four inputs. NOR gate logic is accomplished by linking to a Not object.

**Or component**

## Slots

The Or component has the following slots:

**Status:**shows the component's status;**Out:**the output slot showing the outcome of the or operation;**InA-InD:**the input values.

In A | In B | Out |
---|---|---|

False | False | False |

False | True | True |

True | False | True |

True | True | True |

**Or component truth table (2 inputs)**

In A | In B | In C | In D | Out |
---|---|---|---|---|

False | False | False | False | False |

False | False | False | True | True |

False | False | True | False | True |

False | False | True | True | True |

False | True | False | False | True |

False | True | False | True | True |

False | True | True | False | True |

False | True | True | True | True |

True | False | False | False | True |

True | False | False | True | True |

True | False | True | False | True |

True | False | True | True | True |

True | True | False | False | True |

True | True | False | True | True |

True | True | True | False | True |

True | True | True | True | True |

**Or component truth table (4 inputs)**