For some kinds of motors, principally motors with terminal-based connections, basic wiring is self evident. The terminal board itself usually has markings that indicate where line one and line two are to be connected. But what if you need to reverse that motor, use a different (but available) voltage setting, or have a motor that has nothing more than a bunch of color-coded or numbered leads coming out of it?
A ferrite sleeve around the three power conductors as they leave the drive will help to reduce common-mode noise current. Take all three conductors two or three times through the core. If it runs hot reduce the number of turns.
The PWM Drive (pulse-width modulated drive) to motor power conductors are typically the most intense noise source in a system. Proper implementation of shielding, grounding, splicing, and treatment of excess cable is essential to reducing noise in your system.
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.