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

SMC_MoveContinuousRelative concatenation

Motion
2019-02-15
2019-02-15
  • RudolfAtITD

    RudolfAtITD - 2019-02-15

    Dear experts,
    I'm working with a Festo CPX-E controller ... and want to use CODESYS Softmotion to drive speed profiles with fixed positions without standstill. For this I want to use the block "SMC_MoveContinuousRelative", where I can specify a final speed. Actually the device starts, the axis moves and the signal "InEndVelocity" goes TRUE at the desired position.
    My difficulties begins here.

    If I set the "Execute" input FALSE after "InEndVelocity" shows TRUE, the "CommandAborted" signal will set HIGH at the next start with "Execute".If I additionally wait for "Busy = False", the drive runs and runs ... "Busy" will not go to FALSE state.
    What am I doing wrong or how do I handle this module (in ST)?

     
  • josepmariarams

    josepmariarams - 2019-02-15

    May be it could be dine using two smcMove.... Alternating one at the end of rhe other.

    Sent from my Moto G (5S) Plus using Tapatalk

     

Log in to post a comment.