Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 years of on and off trying to get this to work #274

Open
markcurington opened this issue Oct 19, 2023 · 6 comments
Open

2 years of on and off trying to get this to work #274

markcurington opened this issue Oct 19, 2023 · 6 comments

Comments

@markcurington
Copy link

With these parameters .040 feed just barely moves. I can up stepper microsteps alot and get things moving but even setting microsteps to 36 and changing resolution to 400 in the program and on the driver won't drive the motor fast enough. Something is missing and i can't figure it out. I got an RPM meter from work a year or so ago and the speed matches the display. I bought one that should arrive this week because i don't work at the same place anymore. This is my last day of normal hours for a few weeks I start working 12's for the next 2 weeks. The plant is shutting down for the annual maintenance cycle and lucky me I'm the only electrician at the plant. Can someone help me understand what I'm doing wrong so I can fix this problem when I get done with this outage. I really want to learn how to thread on my lathe.

 I have a 8 TPI leadscrew.
1024 encoder parameter set to 4096
steeper microsteps 6
stepper resolution set to 1000
10 tooth gear on the stepper motor
60 tooth gear on the leadscrew
spindle and encoder are 1:1
Screenshot (11)
Screenshot (12)

@dsgroninger
Copy link

Mark,

Please see my writeup on my implementation of the project. It sounds like we have similar lathes, and I included my changes to configuration.h plus the logic that I used in setting up my encoder. If your controller is correctly reading the spindle speed, and if the stepper motor moves the lead screw at all, then you're 98% of the way there.
Clough42 Electronic Leadscrew.pdf

Good luck,

Dan

@markcurington
Copy link
Author

markcurington commented Oct 20, 2023

Thanks Dan. I'll read up. I verified today with my new RPM meter that the spindle speed matches the display speed.
I read your writeup and it seems this maybe my issue.

@markcurington
Copy link
Author

So i measured my saddle travel tonight and it moved around .125. According to your writeup you have a 3 to 1 so 3x3.333=10. I have a 6:1 so i did 6x3.333=20. I got errors in my table.ccp and it won't compile. I'm going to try a 20 tooth on the stepper motor and go with 3:1 and see if that fixes things tomorrow if i get off work at a reasonable time.
Screenshot (13)

@markcurington
Copy link
Author

Okay so I found where I messed up last night. Where James code says "#define STEPPER_MICROSTEPS_FEED STEPPER_MICROSTEPS" Dan's writeup said to change this but you I had to remove STEPPER_MICROSTEPS. It will not compile with #define STEPPER_MICROSTEPS_FEED STEPPER_MICROSTEPS 20 because that causes errors in the tables.ccp. In order to get it to work I had to delete STEPPER_MICROSTEPS then define with 20. It now reads #define STEPPER_MICROSTEPS_FEED 20 and compiles.

@markcurington
Copy link
Author

Well that didn't work. Stepper motor still not turning fast enough.

@dsgroninger
Copy link

dsgroninger commented Oct 23, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants