i am working on a railroad tie sizing operation. there are two end saws, one of which is on a screw driven by a motor so you can move the saw for different length ties (6', 8', 10', ect.). i want to use a joy stick to move the saw in and out and some toggle switches (on/off) for the different lengths. i want to use one limit switch on the movable saw and install trips at each length. i was wanting some suggestions on the best way to do this. i was thinking about using a counter for each trip (count 1 6', count 2 8',ect.). if i do this i do i make it count backwards. i hope this make sense.if any more info is needed i will try to provide it.i don't get to do alot of programming so this is probably simple project and i just don't know what to do.thanks for the help. rodney