2025-09-15 3:20 AM
[PN]: STSPIN32G4 + Custom board
[VERSION]: MCSDK 6.4.1
[TOOL]: Firmware
[DETAILS]:I set the Position control mode in workbench and run MC_ProgramSpeedRampMotor1() or MC_ProgramTorqueRampMotor1() in main loop. It always doesn't work. When I set the speed mode in workbench, it works always.
[EXPECTED BEHAVIOR]:In position control mode, MC_ProgramSpeedRampMotor1(), MC_ProgramTorqueRampMotor1() should work.(run the motor at a specific speed or torque)
[HOW TO REPRODUCE]:always
I can see serval posts related to this topic. Seems that it is not possible in the current version. If really not possible in the current version. do you have a plan to implementing the above function in the future?
Thank you in advance.
2025-09-15 6:33 AM
Hello @DonCC007,
Refer to Position Control application note document for API usage and description.
The Position Control feature uses position and duration values for trajectory computation.
It is not planned to add speed or torque control in the future.