Reversing Switch
A power supply reversing switch allows an operator to change the supply’s polarity, which then changes the magnet's polarity.