cancel
Showing results for 
Search instead for 
Did you mean: 

MC-SDK position control setting

atemur
Associate

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.

1 ACCEPTED SOLUTION

Accepted Solutions
GMA
ST Employee

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

View solution in original post

2 REPLIES 2
GMA
ST Employee

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

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