I’m trying to home a Kollmorgen AKD drive to the index pulse, using a drive-based implementation.
I’m putting the drive into opmode 6 (homing), setting motion profile parameters (velocity, accel, etc.), setting bits in the control word to start homing, and monitoring the status word to see when home is attained.
So far, so good.
Once things are finished, I change the op mode to cyclic synchronous position (8). But now, my position commands are essentially ignored by the drive. It never attempts to move the motor.
It’s almost like it ignored the new op mode. It reports the op mode is 8, but doesn’t go when I tell it to.
If, instead, I set the opmode from homing (6) to interp position (7), wait for the change to take effect, then change it to CSP (8), the drive starts responding to commands.
It’s possible that this accidentally causes good behavior, IDK.
Is there something unique/special about the AKD implementation that I should expect to need to do something at the end of homing?
First-generation AKD drives actually start in interpolated position mode (7) by default, not CSP mode (8) like most other drives. The standard RMP configuration for the AKD keeps it that way, writing position to 0x60C1 (“Interpolation data record”) rather than 0x607A (“Target Position”). Our recommendation is therefore to remain in mode 7 and not continue through to mode 8. Our C# sample apps demonstrate this behavior using AKD-ASCII commands (axis-homing-akd-drive.cs).
That said, I was able to reproduce the behavior you saw and your workaround on my machine. Commanding relative moves in CSP via RapidCode failed when transitioning 6→8 immediately, but worked when transitioning from 6→7→8. I was unfortunately not able to discern exactly why this is the case, but it does appear to be AKD behavior rather than a configuration quirk.
While you could continue to use your workaround, we would suggest instead transitioning only to interpolated position mode (7) and commanding movement from there.
We do not have internal documentation regarding limitations of running an AKD in CSP, nor are we aware of any such limitations documented by Kollmorgen (who appears to have addressed this in a developer network post).
However, we have not tested running an AKD in CSP, and your finding indicates there may be other undocumented behavior. RMP’s standard AKD configuration is built around the default of IP (mode 7), so we would recommend staying in that mode.