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?
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?
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.
Mr. PHUC VU
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
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?
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.
Mr. PHUC VU