Write ladder logic for the simple ON/OFF of motor and lamp.
Consider the following cases:
- Switch 1 ON —— conveyor motor ON
- Switch 2 and switch3 ON ——- lamp 1 ON & lamp2 ON
- Switch 4 or switch5 ON —– conveyor motor OFF
- Switch 6 ON —– lamp 1 OFF, lamp2 OFF
When you turn ON a switch 1 for the first time, conveyer motor should ON. When Switch 2 ON and switch 3 ON (Both are in ON Condition) should make Lamp 1 & 2 should go ON.
When Switch 4 or Switch 5 (Anyone ON) will make conveyor motor (Which was already turned ON by switch 1) should go OFF. When Switch 6 ON, will make lamps 1 & 2 (Which was already turned ON by switch 2 and switch 3) should go OFF.
When switch 1 is pressed, the motor will turn on. Switch 4 and 5 are connected as normally closed contact in series with the output which will make output to go off when anyone goes ON.
Switch 2 and 3 are connected as normally open contact in series with the output which will make output lamp 1 and 2 to go ON only if both are ON. Switch 6 is connected as normally closed contact to break the power line when it goes ON.
Training Course: Siemens PLC Training