Robot on track, rail moves only back and forth