A cable managing and clamping system for clamping at least one cable on at least one piece of a pipe, said cable managing and clamping system comprising: - at least one cable managing device for unwinding and winding up a cable; - at least one clamping device having jaws defining between said jaws a through-passage for the cable, said two jaws being relatively movable to take a relative position between an open position enabling the introduction and exit of the cable relatively to said through-passage, and a closed position enabling to clamp the cable when the cable extends between the jaws; - at least one piece of a pipe on which said at least one clamping device is fixed, said at least one piece of the pipe having a longitudinal axis, and being intended to be moved in a direction parallel to said longitudinal axis; characterized in that said cable managing and clamping system further comprises: - at least one mechanical command device configured to automatically command the relative position of the jaws of said clamping device in function of the position of said at least one clamping device during the movement of said at least one piece of the pipe, to clamp or unclamp said at least one cable with said at least one piece of pipe; wherein, at least one of the jaws of said at least one clamping device being provided with a first part of said at least one mechanical command device, the cable managing and clamping system comprising a support structure for supporting a sheave wheel, the mechanical command device includes, for each first part, a second part that is mounted fix with regard to the support structure of the sheave wheel, said second part being configured to cooperate with said at least one first part for making said at least one clamping device move from said closed position to said open position and vice-versa. said cable managing and clamping system comprising: - at least one cable managing device for unwinding and winding up a cable; - at least one clamping device having jaws defining between said jaws a through-passage for the cable, - at least one cable managing device for unwinding and winding up a cable; - at least one clamping device having jaws defining between said jaws a through-passage for the cable, said two jaws being relatively movable to take a relative position between an open position enabling the introduction and exit of the cable relatively to said through-passage, and a closed position enabling to clamp the cable when the cable extends between the jaws; - at least one piece of a pipe on which said at least one clamping device is fixed, said at least one piece of the pipe having a longitudinal axis, and being intended to be moved in a direction parallel to said longitudinal axis; - at least one piece of a pipe on which said at least one clamping device is fixed, said at least one piece of the pipe having a longitudinal axis, and being intended to be moved in a direction parallel to said longitudinal axis; characterized in that said cable managing and clamping system further comprises: - at least one mechanical command device configured to automatically command the relative position of the jaws of said clamping device in function of the position of said at least one clamping device during the movement of said at least one piece of the pipe, to clamp or unclamp said at least one cable with said at least one piece of pipe; - at least one mechanical command device configured to automatically command the relative position of the jaws of said clamping device in function of the position of said at least one clamping device during the movement of said at least one piece of the pipe, to clamp or unclamp said at least one cable with said at least one piece of pipe; wherein, at least one of the jaws of said at least one clamping device being provided with a first part of said at least one mechanical command device, the cable managing and clamping system comprising a support structure for supporting a sheave wheel, the mechanical command device includes, for each first part, a second part that is mounted fix with regard to the support structure of the sheave wheel, said second part being configured to cooperate with said at least one first part for making said at least one clamping device move from said closed position to said open position and vice-versa.