Electromagnet driven core, position of core controlled