- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Please let us know if any further details are required.
Thanks,
Krupashankar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Please let us know if any further details are required.
Thanks,
Krupashankar