Assembly for driving excavating or drilling equipment (10, 12) for ground for an excavating or drilling machine; the latter being comprising: - a rotating tower, in turn comprising: a base frame connected to an undercarriage; - a mast, the upper end of which comprises a head for supporting pulleys for the sliding of ropes (23a, 23b), said ropes (23a,23b) being associated with an actuator (13,23) comprised in the same excavating machine; - and excavating or drilling equipment (10, 12); said assembly comprising: - a drive assembly (110, 900) adapted to slide along said mast of said excavating or drilling machine, for driving at least a part of the drilling equipment (10, 12); - at least one actuator (23, 13); said drive assembly (110, 900) comprising: - a first structure or carriage (90, 111), in turn comprising guide members (92, 116, 115) adapted to allow it to slide along said mast; - a second support structure (80, 112) adapted for at least supporting the drilling equipment (10, 12); - removable pin-type fixing means adapted to be inserted into suitable holes (93-96, 112, 113, 118-121) made in said first structure (90, 111) and said second structure (80, 112); said first structure or carriage (90, 111) and said second support structure (80, 112) being mutually movable relative to each other; said at least one actuator (23, 13) being adapted for at least controlling the mutual movement of said first structure or carriage (90, 111) and said second support structure (80, 112); said drive assembly (110, 900) being capable of taking at least two operating configurations, wherein the distance of said second support structure (80, 112) from said mast changes, at least with respect to an axis perpendicular to the axis of extension of said mast, so that at least two excavation centre-to-centre distances (i1, i2) can be set; said removable pin-type fixing means being adapted to mutually constrain in a rigid and direct manner said first structure or carriage (90,110) and said second support structure (80,112) in said at least two operating configurations of said drive assembly (110, 900); while switching between the different operating configurations of the drive assembly (110, 900), said first structure or carriage (90, 111) and said second support structure (80, 112) are always directly constrained to each other through at least one mechanical constraint; said at least one actuator (23, 13), in addition to controlling at least the mutual movement of said first structure or carriage (90, 111) and said second support structure (80, 112), is configured for carrying out further operative functions for driving parts of said excavating or drilling machine or of the drilling equipment (10,12). - a rotating tower, in turn comprising: a base frame connected to an undercarriage; - a mast, the upper end of which comprises a head for supporting pulleys for the sliding of ropes (23a, 23b), said ropes (23a,23b) being associated with an actuator (13,23) comprised in the same excavating machine; - and excavating or drilling equipment (10, 12); - a drive assembly (110, 900) adapted to slide along said mast of said excavating or drilling machine, for driving at least a part of the drilling equipment (10, 12); - at least one actuator (23, 13); - a first structure or carriage (90, 111), in turn comprising guide members (92, 116, 115) adapted to allow it to slide along said mast; - a second support structure (80, 112) adapted for at least supporting the drilling equipment (10, 12); - removable pin-type fixing means adapted to be inserted into suitable holes (93-96, 112, 113, 118-121) made in said first structure (90, 111) and said second structure (80, 112);