Implement a logical AND gate Add-On Instruction in rungs.dev that outputs 1 only when both BOOL inputs are 1, and 0 otherwise — evaluated every scan.
| Name | Type | Usage | Description |
|---|---|---|---|
| In_Input1 | BOOL | Input | First input signal for the AND logical operation. |
| In_Input2 | BOOL | Input | Second input signal for the AND logical operation. |
| Out_AndResult | BOOL | Output | The result of the logical AND operation. |
Open this exercise in Rungs Studio, write your solution, then click Test in the toolbar to verify your work against the built-in test cases.