Abstract: For controlling a magnetic flux of an electromagnet with a relay pulling characteristic and at least two stabile levels of values of a magnetic flux in a magnetic guide, controlling pulses of electric current are supplied into a winding of a magnetizing coil with obtaining a pulling force of a moving part of a magnetic guide of the electromagnet at least with one air gap, wherein the magnetic guide is formed at least partially of a magnetically hard material, two short-term pulses having an opposite polarity are supplied into the magnetizing coil on the magnetic guides of the electromagnet, for closing a magnetic circuit and minimization of magnetic resistance of the magnetic guide due, and holding or attracting force is provided until a supply of a second controlling pulse of electric current of the opposite polarity transferring the magnetic guide into a second stabile condition. Also, an electromagnet is proposed for an electromagnetic drive of an executing device.