Contacts alternately opened and closed by successive cycles of energisation and de-energisation of the electromagnet