SMC_MoveContinuousRelative concatenation

2019-02-15
2019-02-15
  • 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 - 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.