Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

MC_Stop question

alonohev
2017-09-13
2017-09-13
  • alonohev - 2017-09-13

    Hello.
    The MC_Stop FB doesn't behave as it should.
    1. When executed I get an Error.
    2. I'm waiting for the axis to change state, therefore the Execute input is TRUE, and the outputs Done=FALSE, Error=TRUE.
    3. For some unknown reason, although the MC_Stop is in this state, the axis does change its state to "stand still".
    Pleas see attached images
    How is that possible? What do I miss?
    Thanks,
    Alon.

    IMG: XMC_STOP_I_O.JPG

    IMG: XMC_STOP.JPG

     
  • josepmariarams - 2017-09-13

    Mc_stop not changes axe state with done to do that you have to put execute to false.

    Use Mc_halt instead

     

Log in to post a comment.