SMC_ERROR.SMC_AXIS_NOT_READY_FOR_MOTION when using Drive Virtual

ducng
2025-11-26
2025-11-29
  • gseidel - 2025-11-27

    Hi ducng,

    you need to make sure that MC_Power.Status is TRUE before you give a rising edge to MC_MoveRelative.Execute. (This is the same for virtual and real axes).

    Best regards,

    Georg

     
    πŸ‘
    1
  • imdatatas - 2025-11-28

    @ducng, Another possible situation could be that normally there are 3 inputs for MC_Power.
    In your above images, I can't see the "bDriveStart" input activated.
    As Mr. @gseidel mentioned, you need to make sure MC_Power.Status output should be TRUE.
    Issuing any movement command without activating the axis would naturally result in an error.
    For MC_Power;
    You can set the Enable and bDriveStart inputs to TRUE and try turning the axis activation on and off using only the bRegulatorOn input.
    Regards,
    Imdat

     
    πŸ‘
    1
  • ducng - 2025-11-29

    @gseidel @imdatatas
    Thank you for your help.

     

    Last edit: ducng 2025-11-29

Log in to post a comment.