Removing or fixing bobbins or cores from or on the vertical peg of trays, pallets or the pegs of a belt