A tape edge applicator workstation including a conveyor for moving a mattress or foundation along a sewing path through a tape edge applicator. The MVM component has a permuter, memory, and an XOR gate array. Accordingly, the distance can be measured with high accuracy using the optical pulse signal and the clock pulse signal, thereby reducing costs and power consumption.