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.

TINA/Spice/TMS320F28069M: TMS320F28069M Position control

Part Number: TMS320F28069M
Other Parts Discussed in Thread: TINA-TI

Tool/software: TINA-TI or Spice Models

Device is TMS320F28069M, According to  Proj_lab13d.c project to make speed gate brake.

1. Usually, it open and close gate by do movement between position A and B.

2. It should goes to stop  when somebody burst into gate unexpectedly during the movement from A to B. Such as stop at the position D.

3.In this way(gMotorVars.SpinTAC.PosPlanRun = ST_PLAN_PAUSE), the motion can be stopped, but it will stop immediately and shake. We want a smooth way to stop.

   What should we do?

Thanks in advance.