Even with the addition of that line the behaviour is the same. But since
I'm a novice when it comes to LinuxCNC I just want to make sure I
implemented the change correctly:
case 3:
timer -= fperiod;
if (timer > 0) break;
state = 4;
motor_fwd = 0;
motor_rev = 0;
motor_vel = hold_dc;
current_position -= 1; //Line added
active = 0;
if (enable) ready = 1;
Then:
sudo halcompile --install carousel.comp
Did I miss(do) anything?
Den fre 8 jan. 2021 kl 13:44 skrev andy pugh <[email protected]>:
> On Fri, 8 Jan 2021 at 12:31, Andreas Linnarsson
> <[email protected]> wrote:
>
> > The electrical behaviour of the stock control system can be seen in the
> > attached picture. When examining the STROBE (pocket) signal I can
> > understand why I'm experiencing what I do now. The TOOL CMD is the 24V
> > signal to the DC motor turning the turret and SYNC is the index/home
> signal.
>
> I think that a quick-fix in your case might be to insert:
>
> current_position -= 1
>
> After line 317 of carousel.comp
>
> https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/components/carousel.comp#L311
>
> It would need to be a bit cleverer to be a _general_ solution.
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
>
>
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users