johntba
Hi, and welcome to the forum. I am someone who has never really had formal training or school in PLC programming, but learned A-B all on my own from hours and hours of hammering on logic until I could make it work and also do it in a timely fashion and professional so the customers would be able to understand it as mentioned in several posts in the forum.
I will not do your homework for you either, because you will learn nothing, however I will tell you that I wrote logic to make this sequence work with the buttons (1-5-3-4-2). I will give you the following clues:
I did not use an array, timer, or counter. I used only XIC, XIO and OTE's.
I did it in 6 rungs. I have a PLC and a rack in my office and I tried it and it works.
The second clue is try to remember what you were taught in school about latching or holding circuits. This ought to get you thinking and you can get this. Never give up!! These great knowledgeable pros on this forum will bend over backwards to help you but you must make an initial effort, even wrong logic will at least tell you what NOT to do. Again, welcome to the forum