Control a sandwich assembly process based on bread presence and multiple ingredient sensors.
| Name | Type | Usage | Description |
|---|---|---|---|
| In_BreadFeeder | BOOL | Input | 1 when bread is detected. |
| In_Ingredient1 | BOOL | Input | 1 when ingredient 1 is present. |
| In_Ingredient2 | BOOL | Input | 1 when ingredient 2 is present. |
| In_Ingredient3 | BOOL | Input | 1 when ingredient 3 is present. |
| In_Condiment1 | BOOL | Input | 1 when condiment 1 is present. |
| In_Condiment2 | BOOL | Input | 1 when condiment 2 is present. |
| Out_ConveyorMotor | BOOL | Output | 1 when conveyor motor is active. |
| Out_AssembleMotor | BOOL | Output | 1 when assembly motor is active. |
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.