Faults caused by the servo controller

For general Flowcode discussion that does not belong in the other sections.
Post Reply
ChrisT66
Posts: 103
http://meble-kuchenne.info.pl
Joined: Mon Dec 07, 2020 12:47 pm
Been thanked: 1 time

Faults caused by the servo controller

Post by ChrisT66 »

Hi, does anyone have experience with the servo controller module? Unfortunately, I have the problem that the controller affects the rest of the program.
In the attached example, my click menu only works sporadically as soon as the controller and a servo are connected.
Does anyone have any ideas?

Thank you, greetings Chris
Attachments
Servotest.fcfx
(27.11 KiB) Downloaded 67 times

ChrisT66
Posts: 103
Joined: Mon Dec 07, 2020 12:47 pm
Been thanked: 1 time

Re: Faults caused by the servo controller

Post by ChrisT66 »

I don't think it's a fault caused by the servomotors, as the same problems occur even without the motors connected

medelec35
Matrix Staff
Posts: 1996
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 630 times
Been thanked: 666 times

Re: Faults caused by the servo controller

Post by medelec35 »

Hi Chris.
Personally I would eliminate the servo motor and power supply by just using a basic control of the servo on a press of a switch.
Use one switch to control clockwise and another switch to control counter clockwise, or use a potentiometer.
It could be either the power supply is not up to the task, or the servo drawing more current than specified due to a fault.
Once the basic control works, you can then go on to more complex servo control
Martin

ChrisT66
Posts: 103
Joined: Mon Dec 07, 2020 12:47 pm
Been thanked: 1 time

Re: Faults caused by the servo controller

Post by ChrisT66 »

Hi Martin,
Thanks for your help.
I also have the problems when no servo motor is connected. I think that somehow the internal logic of the controller is interfering with the regular programme by using the PWM and timer.
Perhaps I should dispense with the servo controller macro and control the servos via PWM outputs?

Chris

Post Reply