Part Number: TMS320F28069M
Hi
Does anybody know how can I cancel an aktive SpinTac Move before the SpinTacMove has done.
I need it for an break condition.
Thanks, Alex
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: TMS320F28069M
Hi
Does anybody know how can I cancel an aktive SpinTac Move before the SpinTacMove has done.
I need it for an break condition.
Thanks, Alex
Alex,
You should be able to set the enable bit for SpinTAC Move to false. There is a function called: STPOSMOVE_setEnable
This will stop the current profile and will generate a new profile that will drive the velocity to 0 (in position) or acceleration to 0 (in velocity) using the configured Halt limits.
Alex,
You can monitor the position reference signal from SpinTAC Position Move. This will indicate what the current position reference is. If you subtract the position start value from the position reference value (keeping in mind the rollover present in the position signal) this could be a way to get a value for how far the motor has gone during this particular profile.