> For the complete documentation index, see [llms.txt](https://help3.depence.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help3.depence.com/depence-hardware/modules/depence-logic-module/logic-module-items/conditions.md).

# Conditions

### ![](https://4198123652-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhIYO0xEuDDA2b69m5L%2Fuploads%2FereH20Xg7BSrdL4o1ytR%2Fimage.png?alt=media\&token=49043e9d-6ad2-4772-bb85-f12274d3527a)

Permanently outputs a 0.

### ![](https://4198123652-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhIYO0xEuDDA2b69m5L%2Fuploads%2FwiyFPxBE1a6VEDY4N8IG%2Fimage.png?alt=media\&token=99f47eed-8bf5-4b2f-bfd0-a04446826c15)

Permanently outputs a 1.

###

### ![](https://4198123652-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhIYO0xEuDDA2b69m5L%2Fuploads%2FAe1txE8e61TxPiaIeHss%2Fimage.png?alt=media\&token=aa51c7b9-d47c-41c2-b49a-b4ad5e4afdd5)

Sets the output to high depending on the two input values and the logical operator.\
\
Logical Operators:

* Equals  :  A  = B
* Not Equals  :  A <> B
* Higher  :  A > B
* Lower : A < B

###

### ![](https://4198123652-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhIYO0xEuDDA2b69m5L%2Fuploads%2FwKubJwwFAk3EMbuNGCch%2Fimage.png?alt=media\&token=7d5a6105-9e22-4c5a-bfb1-16364cfce4e9)

Logical AND

<table><thead><tr><th width="161.46029972553498">X1</th><th width="150">X2</th><th width="150">Output</th></tr></thead><tbody><tr><td>0</td><td>0</td><td>0</td></tr><tr><td>0</td><td>1</td><td>0</td></tr><tr><td>1</td><td>0</td><td>0</td></tr><tr><td>1</td><td>1</td><td>1</td></tr></tbody></table>

###

### ![](https://4198123652-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhIYO0xEuDDA2b69m5L%2Fuploads%2FKYniAL1GcZyhfYuA9g1d%2Fimage.png?alt=media\&token=2eddbb6d-c271-4f68-ae64-b817e6a4e42b)

Logical NOT

<table><thead><tr><th width="259.91797556719024">Input</th><th>Output</th></tr></thead><tbody><tr><td>0</td><td>1</td></tr><tr><td>1</td><td>0</td></tr></tbody></table>

###

### ![](https://4198123652-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhIYO0xEuDDA2b69m5L%2Fuploads%2FkhjxrfZVx0fO2T4vDd0P%2Fimage.png?alt=media\&token=34b1341b-f2e4-4667-b7d0-2a94de7ce591)

Logical OR

| X1 | X2 | Output |
| -- | -- | ------ |
| 0  | 0  | 0      |
| 0  | 1  | 1      |
| 1  | 0  | 1      |
| 1  | 1  | 1      |
