Ladder program Code for Waving opeartion

Here PLC output Y1 is waving during Operation once operation start.

Once internal relay M1 getting on after that timer T1 Start during that non of output getting on once timer T1 on then output Y1 on after timer T2 On Y1 getting on this operation run until internal resistor getting OFF.