Hi All,
I'm working on a project which its position needs to be controlled by an external setpoint system dynamically.
I use Twincat that provide me some function block for external setpoint data. But there is a need to write my own custom s-curve motion profile with on-the-fly position change support. I mean , the position data may change before the current positioning job finished. If the PLC get a new target position with the same direction, the PLC is going to change its target position without decelerating current velocity.
Can someone help me on coding this motion profile or solving its algortihm ?
Thank you for your help in advance.
Regards
Nosempre
I'm working on a project which its position needs to be controlled by an external setpoint system dynamically.
I use Twincat that provide me some function block for external setpoint data. But there is a need to write my own custom s-curve motion profile with on-the-fly position change support. I mean , the position data may change before the current positioning job finished. If the PLC get a new target position with the same direction, the PLC is going to change its target position without decelerating current velocity.
Can someone help me on coding this motion profile or solving its algortihm ?
Thank you for your help in advance.
Regards
Nosempre