Hi everyone i am Bruneau from Mauritius. Got stuck with a project , please help thank you. I need to make a cut to length controller with arduino uno r3. The mechanical part of the machine has already been built. The requirements are. Set the length and quantity on a P.C or an HMI. Length to be measured by an incremental encoder ( Rotary) Once the length is reached a shear will cut the material. Each time the shear cuts it will count the quantity via a limit switch and when quantity reached end of bach written on screen The limit switch will also tell when the shear blade is up in order to feed material again. Will appriciate some help thank you.