Motor cables are defined as long when the motor frame is not bonded close enough to the drive panel to be considered a single ground plane. To be considered a single ground plane, the parts must be connected by a surface which is no longer than ten times its width.
Suppose you take a length of ordinary wire, make it into a big loop, and lay it between the poles of a powerful, permanent horseshoe magnet. Now if you connect the two ends of the wire to a battery, the wire will jump up briefly. It is amazing when you see this for the first time. It is just like magic! But there is a perfectly scientific explanation. When an electric current starts to creep along a wire, it creates a magnetic field all around it.
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.
Suppose we bend our wire into a squarish, U-shaped loop so there are effectively two parallel wires running through the magnetic field. One of them takes the electric current away from us through the wire and the other one brings the current back again. Because the current flows in opposite directions in the wires, Fleming Left-Hand Rule tells us the two wires will move in opposite directions. In other words, when we switch on the electricity, one of the wires will move upward and the other will move downward.