Time t is a time necessary for the exciting current of the scanning electromagnet 23 to be changed by I, that is, a time necessary for the irradiation area to be changed over, a short time as small as possible should be set in order to shorten the treatment time.