Added property to check if motion is commanded or not.
Fixed an error where the wrong command was sent to the drive.