Rotational C Axis not working

119 views
Skip to first unread message

Isaac Johnson

unread,
Jan 13, 2023, 12:39:24 PM1/13/23
to OpenPnP
Hi everyone, I'm needing help with getting my C axis to work and I feel like I've tried just about everything. I pressed the info icon in Issues & Solutions, followed to steps and it's still not working. I downloaded Mark's firmware for 5 axis (since I am using 4 axis). I checked my configuration file to make sure "extruder" isn't written anywhere. I've also connected the C axis to another port and it has worked so I know there isn't an issue with external connections/wiring. I basically feel like I've tried everything I could plus looking through past conversations to find the solution, but nothing has worked.

This seems like a fairly common issue so I'm sorry if this is repetitive for you guys. Any help is greatly appreciated.
Issues and Solutions page.PNG

Thank you,
Isaac
config.txt
machine.xml

mark maker

unread,
Jan 13, 2023, 2:10:23 PM1/13/23
to ope...@googlegroups.com
Isaac --
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/a3f13b96-991b-4f60-921c-f24f66f7b2c9n%40googlegroups.com.

Isaac Johnson

unread,
Jan 16, 2023, 8:32:31 PM1/16/23
to OpenPnP
Thanks Mark, I will try this on Wednesday when I have access to the machine again.

-Isaac

Isaac Johnson

unread,
Jan 18, 2023, 9:34:31 AM1/18/23
to OpenPnP
Hey again Mark, I just double checked that the nozzle was the selected tool as shown in the link you provided, and the issue is still persistent.

-Isaac

On Friday, January 13, 2023 at 2:10:23 PM UTC-5 ma...@makr.zone wrote:

mark maker

unread,
Jan 18, 2023, 9:41:07 AM1/18/23
to ope...@googlegroups.com

please post a log at TRACE level and machine.xml

Isaac Johnson

unread,
Jan 18, 2023, 9:55:17 AM1/18/23
to OpenPnP
Here is the machine.xml
How do I get my log at TRACE level as a file. I see the log tab and TRACE is selected but I'm not sure how to get it downloaded.

-Isaac
machine.xml

Isaac Johnson

unread,
Jan 18, 2023, 9:58:37 AM1/18/23
to OpenPnP
Hold on I think I found it in the computer. Let me know if this is what you're looking for.

-Isaac

log.txt

mark maker

unread,
Jan 18, 2023, 10:14:10 AM1/18/23
to ope...@googlegroups.com
In your machine.xml I see that the A axis is not reported.
            <reported-axes><![CDATA[ok C: X:100.0000 Y:100.0000 Z:0.0000]]></reported-axes>

This likely means you did not configure it properly in the Smoothieware config.txt

So send the config.txt

(I'm not the Smoothie expert per se, but maybe the error is obvious 😁, or other users can have a look and help)

_Mark

Isaac Johnson

unread,
Jan 18, 2023, 10:22:44 AM1/18/23
to OpenPnP
Sure thing, here it is.

-Isaac

config.txt

mark maker

unread,
Jan 18, 2023, 10:32:05 AM1/18/23
to ope...@googlegroups.com

I guess Smoothie does not like skipping axes. You have the A axis on the epsilon instead of the delta, and the delta is left undefined (if I remember correctly, assigning pins is actually enabling the axis).

  
#Y2(M4)
delta_current                                   1.5              # First extruder stepper motor current

#C axis (M5)
epsilon_steps_per_mm                               800              # Steps per mm for extruder stepper
epsilon_step_pin                              2.8              # Pin for step signal
epsilon_dir_pin                               2.13            # Pin for dir signal ( add '!' to reverse direction )
epsilon_en_pin                                4.29             # Pin for enable signal
epsilon_current                                    1.5              # Second stepper motor current
a_axis_max_speed                6000        # Maximum speed in mm/min
epsilon_max_rate                             300              # mm/s
epsilon_acceleration                500        # Acceleration for the stepper motor, as of 0.6, arbitrary ratio


I assume you want to configure two Y axes, that are paired, i.e. use the same logical Y axis, same step/dir pulses, but you want to use two (i.e. the beta and delta) stepper drivers.  I don't know how to do that.

Smoothie users, please help!

_Mark

Isaac Johnson

unread,
Jan 18, 2023, 10:37:43 AM1/18/23
to OpenPnP
Yeah exactly, I physically connected the pins for beta and delta. I see what you mean how I technically skipped an axis which could be throwing it off. I didn't expect that to be the issue.
But yeah, I definitely need help with configuring the 2 Y axes together in the configuration file as I assume I'll have to disconnect what I've done on the smoothieboard to have my rotational axis work.

Thank you!
Isaac

Isaac Johnson

unread,
Jan 18, 2023, 10:42:41 AM1/18/23
to OpenPnP
Do you think connecting the second y axes to epsilon could solve the issue and switching the rotational axis to the delta pin would solve the issue. Cause then I wouldn't be skiiping a pin since the "empty" pin of the second Y  motor would be at the end of the board. Figured I could try this while I'm waiting for a response on another Smoothie user's input.

-Isaac

mark maker

unread,
Jan 18, 2023, 11:06:13 AM1/18/23
to ope...@googlegroups.com

Yeah, I guess it would make sense to swap them.

But you still need to drive the epsilon / Y2 pins with the same logical axis as the beta / Y pins.

It seems this is only possible using physical jumper wires, look for "Doubling stepper motor drivers" here:

http://smoothieware.org/general-appendixes#doubling_stepper_motor_drivers

But if I'm not mistaken you would use beta as the source (not gamma) and epsilon as the destination of the jumper wires.

_Mark

Isaac Johnson

unread,
Jan 18, 2023, 12:05:38 PM1/18/23
to OpenPnP
This solution worked!! All my axes (X, Y, Z, and C) are all working as they should. Thank you Mark for your speedy responses!

Best,
Isaac

Reply all
Reply to author
Forward
0 new messages