changing velocity on the fly

malbec
2011-05-25
2011-05-30
  • malbec - 2011-05-25

    When I use move commands like MC_MoveRelative, MC_MoveVelocity etc... can I change the velocity on the fly? how?

     
  • eschwellinger

    eschwellinger - 2011-05-25

    hi,
    yes, just re execute the active motion fb with new velocity

    Edwin

     
  • malbec - 2011-05-26

    And if I want to use MC_MoveVelocity and change the velocity continuously (with an analog input for example)?
    If I use MC_MoveRelative with a distance of 1000mm, and after 300mm I reexecute it to change the velocity, what will happened to the distance?

     
  • syncro - 2011-05-30

    hello malbec,

    you will have a new target distance relative to the moment of your rising edge on the execute input.
    Perhaps instead you should use mc_MoveAbsolute and each time calculate your target point accordingly.

    best regards,

     

Log in to post a comment.