first of all i would like to appologize if this is in the wrong place. That said, I need help building 2 small opposite pole electromagnets to move a pair of small rare earth magnets back and forth approx. 1-2 inches along a rail.
|e-mag1| -rail--|perm.mag|--rail--|e-mag2|...