Electromagnetic flowmeter for measuring the flow velocity or the volume flow of media in a pipe, comprising: A measuring tube; and at least a magnet system with at least one coil, said coil being designed to generate a magnetic field which can be activated and deactivated; and at least one pair of measuring electrodes (31, 32); wherein the magnet system further comprises at least a permanent magnet, which is designed to generate a remanent magnetic field in the measuring tube, said magnetic field being oriented in the measuring tube in a manner that is essentially perpendicular to the longitudinal axis of the measuring tube, characterized in that the coil is designed to change the direction of the remanent magnetic field, wherein the remanent magnetic field is the residual magnetic field of the permanent magnet that remains after the deactivation of the magnetic field generated by the coil, the pair of measuring electrodes (31, 32) being designed to measure the electrical measuring voltage induced by the remanent magnetic field, wherein the flowmeter has at least one electronic operating circuit, said circuit being designed to monitor and/or measure the measuring voltage measured by the pair of measuring electrodes (31, 32), wherein the operating circuit has at least two operating modes, wherein a first operating mode comprises the monitoring of the flow velocity or volume flow of a product by monitoring the measured measuring voltage, wherein a second operating mode comprises at least a measurement of the flow velocity or the volume flow of the medium by measuring and evaluating a first measuring voltage and a second measuring voltage, said measuring voltages being induced by two different remanent magnetic fields, wherein the operating circuit is further configured to switch from the first operating mode to the second operating mode once a control criterion occurs. A measuring tube; and at least a magnet system with at least one coil, said coil being designed to generate a magnetic field which can be activated and deactivated; and at least one pair of measuring electrodes (31, 32); wherein the magnet system further comprises at least a permanent magnet, which is designed to generate a remanent magnetic field in the measuring tube, said magnetic field being oriented in the measuring tube in a manner that is essentially perpendicular to the longitudinal axis of the measuring tube, characterized in that the coil is designed to change the direction of the remanent magnetic field, wherein the remanent magnetic field is the residual magnetic field of the permanent magnet that remains after the deactivation of the magnetic field generated by the coil, the pair of measuring electrodes (31, 32) being designed to measure the electrical measuring voltage induced by the remanent magnetic field, wherein the flowmeter has at least one electronic operating circuit, said circuit being designed to monitor and/or measure the measuring voltage measured by the pair of measuring electrodes (31, 32), wherein the operating circuit has at least two operating modes, wherein a first operating mode comprises the monitoring of the flow velocity or volume flow of a product by monitoring the measured measuring voltage, wherein a second operating mode comprises at least a measurement of the flow velocity or the volume flow of the medium by measuring and evaluating a first measuring voltage and a second measuring voltage, said measuring voltages being induced by two different remanent magnetic fields, wherein the operating circuit is further configured to switch from the first operating mode to the second operating mode once a control criterion occurs.