Detection of the spectra of multicharged ions with time resolution and the determination of the parameters of the hot component of the plasma in the case of the magnetic implosion of multiwire arrays