⟩ How to write the program for single push button by using Ladder diagram?
1. Create a Push button
2. Connect a Counter series to PB
3. Create a compare button
4. Initialize 1 at one end
5. Counter output in another
6. Connect the Coil which has to be energized
7. Initialize 2 at one end
8. Counter output in another
9. Connect the Coil which has to be reenergized.