I'm working on making a automated sawmill. The mill will have a rotary encoder to set the cut depth. The cut depth will be the same from the top of the log to the bottom.
What I need is to have a number and add a variable number. Then add the last number and another variable number to each loop. I've been looking for some time and I cant seem to find what I need.