CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Thu Sep 19, 2019 3:53 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Fri Feb 15, 2019 8:48 pm 
Offline

Joined: Sun Feb 24, 2013 10:47 am
Posts: 31
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)?


Top
   
PostPosted: Fri Feb 15, 2019 8:53 pm 
Offline
Frequent User
Frequent User

Joined: Wed May 04, 2016 6:00 pm
Posts: 276
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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited