Controller's PID tuning:
At first I tried a bunch of different tuning methods where you adjust one parameter at a time and wasn't having much luck. Then I tried a method where you set both p and d at the same time in a ratio determined by the pid loop sample rate. The DSPMC/IP has a 5kHz sample rate which means the D should be 25 times the P--then if your amps are in current mode you probably have to turn up d but as you will see I didn't have to. I have my scale set to 100. This will allow me to have a small integer I--I will probably barely need any I at all.
First iteration I tried
P=100
D=2500
There was no motion on the first try to I multiplied by 10
Second iteration I tried
P=1000
D=25000
.....oops, I forgot to save that screenshot
There was very sluggish motion so I multiplied by 2
3rd iteration I tried
p=2000
d=50000
The motion was much better but still sluggish so I multiplied by 2 again
4th iteration I tried
p=4000
d=100,000
motion was excellent so I tested larger moves
Vital systems is still working on the axisworks software. That's an alpha I'm working on now. I asked Rufi/Abdul to add check boxes allow traces to be added for position error, commanded velocity, and commanded acceleration and to remove the commanded position and actual position. When he has that done it will be easy to Dial in the feed forwards which I want to do before even bothering with throwing an I in the pid loop.