Hello,
Does this sound like the issue you are seeing?
If you axis is in open-loop before you issue the command, I expect this is the problem you are seeing.