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 Mon Feb 24, 2020 4:22 pm

All times are UTC+01:00

Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Fri Apr 20, 2018 8:53 am 

Joined: Tue Mar 13, 2018 8:26 am
Posts: 14
Hi all,

I've worked with TwinCAT (Beckhoff) for about 1 year, and have some experience with it. Now, I would like to exchange to Codesys, but there are some problems causing me confusedly:
1. In TwinCAT, when using MC_Home, I have to put Calibration Sensor to INPUT for realizing calibrated position. However, in Codesys, I see that this function block does not need sensor INPUT. So, How does PLC program know when axis reach calibrated position?
And please help me know how to use MC_Home?

2. In TwinCAT, I can divide task into 2 terms:
- PLC: Call motion blocks such as MC_MoveAbsolute, MC_MoveVelocity,...
- SAF: Interpolation task which receive information dynamic from PLC (position, velocity, acceleration, jerk) and generate trajectory to real axis.
But I cannot find similar task in CodeSYS. Does have anyone help me how to organize tasks in CodeSYS?

3. What is best way to exchange data between Codesys and C++ application? I know we have Shared memory solution, but is it real time capability?

Thank all of you for taking time to consider my questions.


Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+01:00

Who is online

Users browsing this forum: No registered users and 0 guests

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