Announcements

From sunburn to sun earn – we’ve got the power! Watch our #poweringgreen videos now.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Vel
Level 2
Level 2
10 replies posted 5 questions asked 5 replies posted

Hi,

I have tuned my motor controller with IMD111T by changing few speed loop & current loop parameters in the MCE Designer. 

But each time I switch off and switch on my controller all the tuned parameters are erased from the device IMD111T. I need to execute speed loop and current loop functions each time in MCE Designer to download tuned parameter into the IC.

How to permanently burn tuned parameters into IMD111T using MCE Designer?

 

Cheers,

Vel.

0 Likes
1 Solution
Krupashankar
Moderator
Moderator
Moderator
500 replies posted 50 likes received 25 likes received

Hi @Vel,

KpSreg and KxSreg are speed control register group, These vales doesn't need any declaration these vales can be directly accessed in the script.

Script_Task0_init()

{

KpSreg = 800;

KxSreg = 20;

}

(OR)

These values can be updated directly in the parameter MCEDesigner .txt file 

 

Krupashankar_1-1675859297457.png

 

Please let us know if any further details are required.

 

Thanks,

Krupashankar

 

View solution in original post

0 Likes
3 Replies
Krupashankar
Moderator
Moderator
Moderator
500 replies posted 50 likes received 25 likes received

Hi @Vel,

There are two ways to retain the dynamically tuned parameters:

  • Tuned parameters can be modified in the parameter MCEDesigner .txt file and programmed to iMOTION Controller.
  • Parameters can be updated using the iMOTION script.

For more details on exact register details please refer to iMOTION™ Motion Control Engine Software Reference Manual

Please let us know if any further information is needed.

 

Thanks,

Krupashankar

0 Likes

Hi Krupashankar,

How to define the tune parameters in the script?

for example, to define P and I gain of speed loop, can I assign the register variables for speed loop P & I inside the task1 initialisation function ? 

Script_Task1_init()

{

KpSreg = 800;

KxSreg = 20;

}

Is this correct?

Are these needs to be local or global variable?

 

Cheers,

Vel.

0 Likes
Krupashankar
Moderator
Moderator
Moderator
500 replies posted 50 likes received 25 likes received

Hi @Vel,

KpSreg and KxSreg are speed control register group, These vales doesn't need any declaration these vales can be directly accessed in the script.

Script_Task0_init()

{

KpSreg = 800;

KxSreg = 20;

}

(OR)

These values can be updated directly in the parameter MCEDesigner .txt file 

 

Krupashankar_1-1675859297457.png

 

Please let us know if any further details are required.

 

Thanks,

Krupashankar

 

0 Likes