A rack-and-pinion system for linear motion can support multiple carriages that can move independently.
Every time you turn a corner in your car, you're using a mechanism that can also be found in gantries, machine tools and other automated equipment: a rack and pinion.