bradp Posted July 30, 2008 Share Posted July 30, 2008 How do I select if my motor users the standard control algorithm or my user written algorithm? Link to comment Share on other sites More sharing options...
bradp Posted July 30, 2008 Author Share Posted July 30, 2008 [quote=brad] How do I select if my motor users the standard control algorithm or my user written algorithm? [/quote] In the IDE you can right-click on the project and use the selection "user servo setup" Here you can pick the algorithm to use. You can also do this from the Power PMAC with the structure Motor[n].Ctrl. Motor[n].Ctrl = Sys.ServoCtrl sets motor[n] to use the system algotirthm. Motor[n].Ctrl = UserAlgo.ServoCtrlAddr[1] will set it for one of the user written algorithms. The details of this structure are best viewed in the Power PMAC manual. Link to comment Share on other sites More sharing options...
Recommended Posts