A cable arrangement mechanism with automatic adjustment of cable pitch