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.
In addition, note that the common lead in this type of motor is usually white or purple. If there are additional leads in the run widing group, continue to use the ohmmeter to test the now-identified common and additional leads. Descending resistance will give you ascending speeds.
The colors or numbers themselves are often a clue, but they alone may not provide sufficient information. There is always the trial and error method, but I do not recommend that because of the potential for destructive results. Instead, the Motor Doctors suggestion is to equip yourself with an ohmeter (don nott settle for just a continuity tester) and learn to perform a few simple tests with it.
Note! Not all drives allow the use of a ferrite sleeve around power conductors. Refer to your manuafacturer’s manual for specific applications.