Update for Sep 17
It seems that I owe Paul an apology ...
But first!
foc test 15 showed a slip in the encoder coupler. No useful information.
foc test 16 - run-rotor-test does not complete. The motor is kinda bouncing around. After shutting down power to the high voltage, I cycle power to the controller and play with 1 and 2 for motor control just a bit.
foc test 17 - the encoder cable is run over the motor and may be picking up noise. 5081 is as high as the number gets during run-rotor-test, but it is a successful test. But I think I figured out Paul's algorithmn. After it gets too close to the max rpm, it goes into regen to slow down (jerking the motor) then tries the next settings.
Sorry Paul - I thought this was 'hunting' .. it was anything but!
The encoder cable is not the worst cable I could have selected - cat5 cable. But it is not shielded, it is untwisted for several inches where it enters the encoder, the control board, and the voltage divider board. I think having the encoder cable run over and beside the motor has the encoder signal very noisy and the controller cannot tell what speed the motor is really turning. I think that this affects the rotor test and how smooth the control is.
foc test 18 - the encoder cable is run as far from the motor as possible, the failed cable pin is re-tightened. The results are higher - they top out at 7136. Selecting index 35 with 25 amps going to the motor speeds up the motor acceleration. The regen tops out over 52 amps during the run-rotor-test
Run the motor with 1 and 2 a bit. Check regen - works OK but then reverses the motor
I'll post the video this weekend, but I would call the testing tonight a qualified success!
I guess I need to purchase a quick replacement potentiometer (monday), and a longer-term hall effect throttle test bench replacement.
The command to log currents sounds very interesting ..
EDIT: Add video links
foc 15
https://youtu.be/yuZTMYdZfUk
likely foc 17?
https://youtu.be/t7AjgZB0WSQ
foc 18
https://youtu.be/LxKoBbXoY2M