1. Convert the following state diagram to a Function Block Diagram.
2. Write a FBD program that will be active when input ‘X’ is true. When the timer accumulator is between 5 and 10 seconds the output Y should be set.