2009-02-10 05:51 AM
2011-05-17 01:15 AM
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 regards2011-05-17 01:15 AM
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, BilLino2011-05-17 01:15 AM
Hello.
I have tried the solution that you propose me and it works. Thank you very much.