# LOGIC

<table><thead><tr><th width="128">Plugin</th><th width="149">Name</th><th>Description</th></tr></thead><tbody><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2F2WPhRpBSHK0TZ7DQKsrS%2FEqual.png?alt=media&#x26;token=ef2d3264-4cee-454e-9b69-fbd13c3bb932" alt="" data-size="original"></td><td><strong>Equal</strong></td><td><strong>The</strong> <strong>Equal</strong> outputs 1 if the two input values are equal; otherwise, it outputs 0. (If calculation is activated, it performs the calculation when a 1 is received at the input.)</td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2FrKFBvmm2ZwNO0oXsKXYJ%2FNot%20Equal.png?alt=media&#x26;token=8645914e-e033-4412-9fb8-4ab794a76fa7" alt="" data-size="original"></td><td><strong>Not Equal</strong></td><td><strong>The Not Equal</strong> outputs 1 if the two input values are not equal, and 0 if they are equal.</td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2F88OP0Wb1QGhU4wx2zNSW%2FGreater%20Than.png?alt=media&#x26;token=c1e1c149-c470-4e55-9c7d-218370d8ed50" alt="" data-size="original"></td><td><strong>Greater Than</strong></td><td><strong>The Greater Than</strong> outputs 1 if the value from input 1 is greater than the value from input 2; otherwise, it outputs 0.</td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2FVum2wu9jAVHmRemVyiKs%2FGreater%20Than%20Equal.png?alt=media&#x26;token=27623880-a112-4214-ab8d-4bd60f1949f5" alt="" data-size="original"></td><td><strong>Greater Than Equal</strong></td><td> <strong>The Greater Than Equal</strong> outputs 1 if the value from input 1 is greater than or equal to the value from input 2; otherwise, it outputs 0.</td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2F2XXB6iWAUYcKNV5A3oC4%2FLess%20Than.png?alt=media&#x26;token=d629b85b-c02c-4141-8365-2198dd6bef90" alt="" data-size="original"></td><td><strong>Less Than</strong></td><td><strong>The Less Than</strong> outputs 1 if the value from input 1 is less than the value from input 2; otherwise, it outputs 0.</td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2FIfenTz1vjf7cLY1SxkSt%2FLess%20Than%20Equal.png?alt=media&#x26;token=745d9b85-c352-484d-b8c6-ffab1d943bde" alt="" data-size="original"></td><td><strong>Less Than Equal</strong></td><td><strong>The Less Than Equal</strong> outputs 1 if the value from input 1 is less than or equal to the value from input 2; otherwise, it outputs 0.</td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2FnJpHkfXkd2U6rjsUqeTQ%2FIsNull.png?alt=media&#x26;token=56b14c87-ab98-43c4-8ac9-98ff8858bc5f" alt="" data-size="original"></td><td><strong>IsNull</strong></td><td><strong>The IsNull</strong> outputs 1 if the input is empty (contains no information), and 0 if there is information present.</td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2FNOrUKGSH1on6uwRbgudl%2FDemultiplxer.png?alt=media&#x26;token=f5075258-7874-49d9-b46e-c3a4a76cca01" alt="" data-size="original"></td><td><strong>Demultiplexer</strong></td><td><strong>The Demultiplexer</strong> is a block used to channel multiple inputs into a single output.</td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2F5yQNMBvlg5DNPREMv5XJ%2FAnd.png?alt=media&#x26;token=cc14ad2e-46c0-4ea5-b6bd-d7a7f1f453e5" alt="" data-size="original"></td><td><strong>And</strong></td><td><strong>The And</strong> operates based on logical AND logic: it outputs 1 only when both inputs are 1. The possible combinations are as follows: 0-0=0, 0-1=0, 1-0=0, and 1-1=1.</td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2F0aCljIBGOi0MtmEQvXV6%2FOr.png?alt=media&#x26;token=2ce4bd44-3194-4733-b459-c0c1401d458b" alt="" data-size="original"></td><td><strong>Or</strong></td><td><strong>The Or</strong> operates based on logical OR logic: it outputs 1 if at least one of the inputs is 1. The possible combinations are as follows: 0-0=0, 0-1=1, 1-0=1, and 1-1=1.</td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2FT4TtyF5dd3JkzfLjkvpE%2FXOr.png?alt=media&#x26;token=b737c64a-4af0-4357-a8f4-17178ae51e76" alt="" data-size="original"></td><td><strong>XOr</strong></td><td><strong>The XOr</strong> operates based on Exclusive OR (XOR) logic: it outputs 1 if exactly one of the inputs is 1, but outputs 0 if both inputs are the same. The possible combinations are as follows: 0-0=0, 0-1=1, 1-0=1, and 1-1=0.</td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2F6DanxlbpR3Atm09fR84B%2FNot.png?alt=media&#x26;token=a4820174-96e5-4fc9-af36-4bf26ab102f8" alt="" data-size="original"></td><td><strong>Not</strong></td><td><strong>The Not</strong> inverts the input values: it outputs 0 if the input is 1, and outputs 1 if the input is 0.</td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2FpVMixwswswR5WsU69E8E%2FIf%20Condition.png?alt=media&#x26;token=f29bfe3d-ab10-4d35-a16e-e8d7bcfcd36c" alt="" data-size="original"></td><td><strong>If Condition</strong></td><td><strong>The</strong> <strong>If Condition</strong> operates similarly to a comparator, allowing you to assign specific input and output values to the blocks. For example, if the incoming information equals "x," the output can be set to 10.</td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2FuEKwoxoEzLutOa3LeEgp%2FIf%20Else%20Condition.png?alt=media&#x26;token=371a9121-d027-4533-b285-87a126568117" alt="" data-size="original"></td><td><strong>If Else Condition</strong></td><td><strong>The If Else Condition</strong> allows for conditional logic based on specified criteria. For example, if the input time is less than 19:00, the output will be "Good Day"; otherwise, it will output "Good Evening."</td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2FMXs4tjziwr5UhpdLh8cg%2FRouter.png?alt=media&#x26;token=1e5b4746-8878-4819-b93f-3691ccde5f70" alt="" data-size="original"></td><td><strong>Router</strong></td><td><strong>The Router</strong> directs the incoming information to the output without modification.</td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2FlXz0M3ZgSQfmytODTub2%2FMultiplexer.png?alt=media&#x26;token=dac06742-dded-4439-9a44-ed7e1ca1b60d" alt="" data-size="original"></td><td><strong>Multiplexer</strong></td><td><strong>The Multiplexer</strong> is a block that combines multiple inputs into a single output, allowing the selection of one input to be routed to the output.</td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2FSDyFOsjILOdtpY8ouS3m%2FToogle.png?alt=media&#x26;token=9955dd8e-d553-4148-9a8a-cc55c42c3d3e" alt="" data-size="original"></td><td><strong>Toggle</strong></td><td><strong>The Toggle</strong> is a block that alternates the input signal to the output as 1-0-1-0, sequentially.</td></tr></tbody></table>

