- Configuring LinuxCNC
- Advanced Configuration
- Is there a bug in the carousel component or am I doing it wrong ATC Denford
Is there a bug in the carousel component or am I doing it wrong ATC Denford
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4306
- Thank you received: 1908
01 May 2025 12:14 - 01 May 2025 12:22 #327420
by Aciera
Replied by Aciera on topic Is there a bug in the carousel component or am I doing it wrong ATC Denford
Looking at these sections in 'carousel.comp' makes met think that the reverse action does not work in 'counts' mode :
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.
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.
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4306
- Thank you received: 1908
01 May 2025 12:19 - 01 May 2025 12:29 #327421
by Aciera
Replied by Aciera on topic Is there a bug in the carousel component or am I doing it wrong ATC Denford
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
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.
- Configuring LinuxCNC
- Advanced Configuration
- Is there a bug in the carousel component or am I doing it wrong ATC Denford
Time to create page: 0.058 seconds