I have create a ladder diagram to control the light with a push button. I want make a blinking light with my push button. I have create a ladder diagram to control them. When I press the button, the light will start to blink. However, when I release my hand from the button, the light will turn off. I want to make it keep blinking when I press the button.
In the image, it is the ladder diagram that I created. M0 is the button.
As you did not specify exactly the model of the PLC and the program (IDE), I created this example for a Delta DVP programmed in the ISPSoft software (v3.14), it is similar to yours, except for the memory for the times, here I left the time fixed at 1 second for each timer.