I am writing my very first ladder program and learning as I go. I am using a Keyence KV-16AR. I need a way to begin a timer when a certain relay turns on and stop the timer when the relay turns off. The elapsed time needs to be stored in memory and the timer then reset. Any help would be appreciated.