PLC Ladder logic program for the given conditions with two push buttons and one lamp.
Condition 1 : The Lamp will turn 'ON' if either of the 2 push button is pressed.
Condition 2 : The Lamp will turn 'OFF' if both push button is release (or) both push button is pressed.