By using Ecostruxure machine expert, program the following process by using ladder language:
Suppose that there is a building consisting of ten floors from 0 to 9. If a fire occurs on a particular floor, the Alarm device on that floor works, and after 15 seconds the previous floor and the next one works and continues like this until all floors are activated
Example if fire occurs on level 4
Alarm in level 4 works for 15 seconds
then level 3 and level 5 works for 15 seconds
then level 2 and level 6 works for 15 seconds
then level 1 and level 7 works for 15 seconds
then level 0 and level 8 works for 15 seconds
then level 9 works for 15 seconds
then level 2 and level 6 works for 15 seconds
then level 1 and level 7 works for 15 seconds
then level 0 and level 8 works for 15 seconds
then level 9 works for 15 seconds
anyone can help me to solve this ?