Skip to main content
atemur
Associate
March 24, 2025
Solved

MC-SDK position control setting

  • March 24, 2025
  • 1 reply
  • 527 views

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.

Best answer by GMA

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. 

1 reply

GMA
GMABest answer
Technical Moderator
April 1, 2025

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 'Accept as solution'.Best regards.GMA
atemur
atemurAuthor
Associate
April 3, 2025

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