Skip to main content
atemur
Associate
Mar 24, 2025 11:00 AM UTC
Solved

MC-SDK position control setting

I started working successfully with MC_SDK 6.3.2. I am doing position control application with BLDC motor. In "ST Motor Pilot v1.2.12-PositionControlApp" I want to set "Terget Position" value to values ​​bigger than the set max value. From which file can I do this? And I want to change the variable type from "radian" to pulse etc.

This topic has been closed for replies.
GMA
GMABest answer
ST Technical Moderator
Apr 1, 2025 9:53 AM UTC

Hello @atemur,

You can modify "MC_SDK_6.3.2\Utilities\PC_Software\STMotorPilot\GUI\PositionControlApp.qml".
For target position, line 240, "Target Position" range is fixed to +/- 200*PI. 

If you agree with the answer, please accept it by clicking on 'Best answer'.Best regards.GMA

2 replies

GMA
GMABest answer
ST Technical Moderator
Apr 1, 2025 9:53 AM UTC

Hello @atemur,

You can modify "MC_SDK_6.3.2\Utilities\PC_Software\STMotorPilot\GUI\PositionControlApp.qml".
For target position, line 240, "Target Position" range is fixed to +/- 200*PI. 

If you agree with the answer, please accept it by clicking on 'Best answer'.Best regards.GMA
atemur
atemurAuthor
Associate
Apr 3, 2025 6:14 PM UTC

Thanks. I opened the relevant .qml file with `visual studio code` and edited it again. And it reached the values ​​I wanted.