I'm currently in college, taking a PLC course using AB SLC 500 series. We have this problem where we are to take an analog signal (1-5V) scale it, from 0-100%, Subroutines are required to process under and over range values. Thought I'd use LTE and GTE commands to send it to the appropriate subroutine. Problem is in the subroutine we must have a bliking O/P and an acknowledge I/P so that the LED goes solid. When the variable goes between the set values the alarm condition should clear itself off. I used a Limit command to do this but if the O/P was put to steady state by acknowledging the alarm the O/P doesn't reset before exiting the subroutine. How do I solve this?? do I clear it in the subroutine or on the next rung in the program??