Text this: Using pulse-periodic arc with cathode spot for generation electron and ion beams with adjustable average current