Is there a bug in the carousel component or am I doing it wrong ATC Denford

More
01 May 2025 12:14 - 01 May 2025 12:22 #327420 by Aciera
Looking at these sections in 'carousel.comp' makes met think that the reverse action does not work in 'counts' mode :

if (rev_pulse > 0){
motor_fwd = 0;
motor_rev = 1;
motor_vel = rev_dc;
timer = rev_pulse;
state = 3;
[snip]
case 3: // timed reverse pulse
timer -= fperiod;
if (timer > 0) return;

Note that there is nothing changing 'counts_target'.
Also note that setting the 'motor-rev' pin doesn't seem to apply to a setup using a stepgen.
Last edit: 01 May 2025 12:22 by Aciera.

Please Log in or Create an account to join the conversation.

More
01 May 2025 12:19 - 01 May 2025 12:29 #327421 by Aciera
I once helped a user who needed to get a ATC turret working that used a stepper and needed to lock the tool by rotating backwards against a pawl (which I _think_ is what yours does):


To get this working we modified a component called 'toolchanger'. The final version is attached here:
forum.linuxcnc.org/38-general-linuxcnc-q...lved?start=80#188377
Last edit: 01 May 2025 12:29 by Aciera.

Please Log in or Create an account to join the conversation.

Time to create page: 0.058 seconds
Powered by Kunena Forum