CODESYS - the IEC 61131-3 automation software

How to use MC_Home and Configure Task
Page 1 of 1

Author:  vmphuc [ Fri Apr 20, 2018 8:53 am ]
Post subject:  How to use MC_Home and Configure Task

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.


Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited