Re: [Machinekit] eQEP closed loop spindle with index and both directions problem

2017-01-07 Thread Sag ich Dir nich
can you upload your hal, ini and setup file? Am Samstag, 7. Januar 2017 07:23:15 UTC+1 schrieb russell gower: > > Hi, > The eQEP encoder is currently broken for me, it certainly used to work > but now it is very erratic, I’ve just changed over to using the > hal_pru_generic encoder which lucki

Re: [Machinekit] eQEP closed loop spindle with index and both directions problem

2017-01-07 Thread Sag ich Dir nich
okay thank you, i will try that :) Am Samstag, 7. Januar 2017 07:23:15 UTC+1 schrieb russell gower: > > Hi, > The eQEP encoder is currently broken for me, it certainly used to work > but now it is very erratic, I’ve just changed over to using the > hal_pru_generic encoder which luckily can be

Re: [Machinekit] eQEP closed loop spindle with index and both directions problem

2017-01-06 Thread Russell Gower
Hi, The eQEP encoder is currently broken for me, it certainly used to work but now it is very erratic, I’ve just changed over to using the hal_pru_generic encoder which luckily can be made to work using the same physical pins as eQEP0 and it seems to have solved my issues. I do intend to trac

Re: [Machinekit] eQEP closed loop spindle with index and both directions problem

2016-12-29 Thread Sag ich Dir nich
Sorry for not posting for so long but i had to make a break, as far as i still know in halscope the raw counter works correctly but the encoder signal is captured very irregular, i might look directly at the contacts with a oscilloscope. I did even put pull-up resistors in the wires, like the m

Re: [Machinekit] eQEP closed loop spindle with index and both directions problem

2016-11-14 Thread Charles Steinkuehler
That behavior seems very strange. I suspect there may be more than one problem. I think there could be an issue with signs causing your forward/reverse problems...you may need an absolute value component somewhere. The PWM output includes an implicit absolute value (ie: the values +0.5 and -0.5

[Machinekit] eQEP closed loop spindle with index and both directions problem

2016-11-06 Thread Sag ich Dir nich
Hi, i am using a Cramps board and want to control a spindle with an encoder to spin in both directions with working PID but the problem is: *1*. The PID only works correctly in cw direction, if i reverse the direction the spindle reverses but the PID does not try to hold the velocity. It only