Build the ladder logic program to turn ON or OFF the lamp using single push buttons using one shot rising…