Hydraulic unit for galvanic plants