There are two ways to overcome this problem. One is to use a kind of electric current that periodically reverses direction, which is known as an alternating current (AC). In the kind of small, battery-powered motors we use around the home, a better solution is to add a component called a commutator to the ends of the coil. (Do not worry about the meaningless technical name: this slightly old-fashioned word "commutation" is a bit like the word "commute". It simply means to change back and forth in the same way that commute means to travel back and forth.) In its simplest form, the commutator is a metal ring divided into two separate halves and its job is to reverse the electric current in the coil each time the coil rotates through half a turn. One end of the coil is attached to each half of the commutator. The electric current from the battery connects to the motor electric terminals. These feed electric power into the commutator through a pair of loose connectors called brushes, made either from pieces of graphite (soft carbon similar to pencil "lead") or thin lengths of springy metal, which (as the name suggests) "brush" against the commutator. With the commutator in place, when electricity flows through the circuit, the coil will rotate continually in the same direction.
Do not coil excess cable of different types (i.e. motor power and feedback) together. An efficient transformer is formed at HF. Cable lengths should ideally be trimmed to fit the application. If excess cable cannot be trimmed, it should be laid in an ‘S’ or figure eight pattern.
You should be able to isolate into two groups any leads which have continuity with one another. The starting circuit is likely to isolate to two leads, the running circuit may have two or more leads that show continuity. If the running circuit has more than two leads, you will need to determine how those leads are to be used for voltage or speed changes.
Avoid splicing motor power cables when ever possible. Ideally, motor power cables should run continuous between the drive and motor terminals. The most common reason for splicing is to incorporate high-flex cable for continuous flexing applications.