Turn CW or CCW
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2009-02-10 5:51 AM
This discussion is locked. Please start a new topic to ask your question.
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 1:15 AM
Posted on May 17, 2011 at 10:15
Hi
In my application the motor turns in both directions Cw and CCW. I have seen that the fogui is alone positively and in changing PID SPEED REFERENCE RPM there is a compiler error. Best regardsOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 1:15 AM
Posted on May 17, 2011 at 10:15
Hello ihsguru,
thanks a lot for your pointing out. The bug is at line 31 of MC_PID_regulators.c file. Try changing #define PID_SPEED_REFERENCE (u16)(PID_SPEED_REFERENCE_RPM/6) into #define PID_SPEED_REFERENCE (s16)(PID_SPEED_REFERENCE_RPM/6) Regards, BilLinoOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 1:15 AM
Posted on May 17, 2011 at 10:15
Hello.
I have tried the solution that you propose me and it works. Thank you very much.