CODESYS - the IEC 61131-3 automation software
https://forum.codesys.com/

SMC_MoveContinuousRelative concatenation
https://forum.codesys.com/viewtopic.php?f=6&t=9526
Page 1 of 1

Author:  RudolfAtITD [ Fri Feb 15, 2019 8:48 pm ]
Post subject:  SMC_MoveContinuousRelative concatenation

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)?

Author:  Josep M. Rams [ Fri Feb 15, 2019 8:53 pm ]
Post subject:  Re: SMC_MoveContinuousRelative concatenation

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

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/