Complex sentence: The first set of incoming pulses goes to an electromagnet; its armature raises the shaft, to select the desired level of contacts, by engaging a pawl with the upper ratchet.
Split into simpler sentences: The first set of incoming pulses goes to an electromagnet. Its armature raises the shaft, to select the desired level of contacts, by engaging a pawl with the upper ratchet.