Threading op (Lathe) - Stepper stuttering

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

martyscncgarage
Posts: 9914
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Threading op (Lathe) - Stepper stuttering

Post by martyscncgarage »

brassmanwithaplan wrote: Wed Jul 22, 2020 11:54 am
martyscncgarage wrote: Wed Jul 22, 2020 11:39 am
brassmanwithaplan wrote: Tue Jul 21, 2020 1:28 pm Not quite sure what you need for the intercon program? I'm assuming what I have attached for that one is not what you need?
You didn't post the intercon file generated when you used CNC12 to create a threading cycle.

Marty
The file "conversational thread test v1.cnc" is the one generated from using CNC12 CAM to create the threading cycle. If there's an additional file from this somewhere other than the .cnc , I'm not aware of how to find it.
Intercon creates an ICN file that should be located in the c:\icn_lath directory
You uploaded the created G code file when you POST from Intercon
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
cnc_smith
Posts: 237
Joined: Mon Nov 20, 2017 10:13 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: Yes
CPU10 or CPU7: Yes
Location: Frenchville, PA

Re: Threading op (Lathe) - Stepper stuttering

Post by cnc_smith »

Dan (brassmanwithaplan),

Looking at the 3 g-code programs you sent and your max rate of 50 inch per minute (IPM) on your machine that is where some of the problem is.
For threading take the RPM times the pitch of the thread that will give you the inches per minute the cross slide will be moving. PRM x pitch of thread = IPM

1) "conversational thread test v1.cnc" program generated by Intercon the RPM is 500 with a thread pitch of .125 so the inches per minute is 500 x.125 = 62.5 IPM. This is faster than you machine can travel so that is why the thread looked worst than the other 2 programs.

2) "1.4-20 UNC test 1.nc". The RPM is 500 and the pitch is .049213 This is 24.6 IPM

3) "rpm test.nc". The RPM is 250 and the pitch is .049213. This is 12.3 IPM.

In the parameters in the CNC12 you need to change Parameter 240 to 0.050 and parameter 241 60.0000. From the main screen F1 (Setup), F3 (Config), the password is 137 if you have the Wizard set for password required, F3 (Parms). Use the F8 key to page down to get to parameters 240 and to 241. After interning the above values press F10 to save and the ESC to go back to the main screen. If this does not correct the threading problem then someone that is more familiar with the setting for the steppers can help.
Dana

When requesting support, please ALWAYS post a current report.
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
brassmanwithaplan
Posts: 32
Joined: Tue Aug 27, 2019 10:54 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 780483494848-0423191934
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: England, UK

Re: Threading op (Lathe) - Stepper stuttering

Post by brassmanwithaplan »

cnc_smith wrote: Wed Jul 22, 2020 1:17 pm Dan (brassmanwithaplan),

Looking at the 3 g-code programs you sent and your max rate of 50 inch per minute (IPM) on your machine that is where some of the problem is.
For threading take the RPM times the pitch of the thread that will give you the inches per minute the cross slide will be moving. PRM x pitch of thread = IPM

1) "conversational thread test v1.cnc" program generated by Intercon the RPM is 500 with a thread pitch of .125 so the inches per minute is 500 x.125 = 62.5 IPM. This is faster than you machine can travel so that is why the thread looked worst than the other 2 programs.

2) "1.4-20 UNC test 1.nc". The RPM is 500 and the pitch is .049213 This is 24.6 IPM

3) "rpm test.nc". The RPM is 250 and the pitch is .049213. This is 12.3 IPM.

In the parameters in the CNC12 you need to change Parameter 240 to 0.050 and parameter 241 60.0000. From the main screen F1 (Setup), F3 (Config), the password is 137 if you have the Wizard set for password required, F3 (Parms). Use the F8 key to page down to get to parameters 240 and to 241. After interning the above values press F10 to save and the ESC to go back to the main screen. If this does not correct the threading problem then someone that is more familiar with the setting for the steppers can help.
I changed the parameters as you mentioned and saved them, then tried several of the tests cutting air. Unfortunately the problem persists.

I've also attached the correct files for the conversational threading.

Dan
Attachments
conversational thread test v1.lth
(575 Bytes) Downloaded 87 times
brassmanwithaplan
Posts: 32
Joined: Tue Aug 27, 2019 10:54 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 780483494848-0423191934
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: England, UK

Re: Threading op (Lathe) - Stepper stuttering

Post by brassmanwithaplan »

Updated report as of today (Since parameter changes)
Attachments
report_780473494848-0423191934_2020-07-30_12-02-40.zip
(290.66 KiB) Downloaded 93 times
martyscncgarage
Posts: 9914
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Threading op (Lathe) - Stepper stuttering

Post by martyscncgarage »

Can you please take a video and post it to youtube and SHARE a link here?
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
brassmanwithaplan
Posts: 32
Joined: Tue Aug 27, 2019 10:54 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 780483494848-0423191934
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: England, UK

Re: Threading op (Lathe) - Stepper stuttering

Post by brassmanwithaplan »

martyscncgarage wrote: Thu Jul 30, 2020 10:40 am Can you please take a video and post it to youtube and SHARE a link here?
Here's a short clip, firstly showing the general jog movement, then I start a new program which I've also attached, with a finer thread and slower rpm.
It's mainly to show that it appears smooth yet hopefuly you can hear the difference between jogging and the program trying to run the thread.
I've reverted to using fusion as there is no difference between that and using conversational in CNC12, and I use fusion as my main output.



It causes a lot of juddery vibration and I'm concerned i'll cause damage to the stepper for instance.

-Dan.
Attachments
report_780473494848-0423191934_2020-08-01_11-08-44.zip
clean report following the video test.
(290.77 KiB) Downloaded 114 times
2020 200rpm test.nc
As per the video.
(483 Bytes) Downloaded 114 times
brassmanwithaplan
Posts: 32
Joined: Tue Aug 27, 2019 10:54 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 780483494848-0423191934
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: England, UK

Re: Threading op (Lathe) - Stepper stuttering

Post by brassmanwithaplan »

Also, I have just updated to CNC12 v4.5 and tested the same program just on the off chance it was conflicting. Same result. no change or improvement (Not that I was expecting a magic fix!)

cnckeith will be happy I've updated ;-)
martyscncgarage
Posts: 9914
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Threading op (Lathe) - Stepper stuttering

Post by martyscncgarage »

You aren't going to hurt the stepper!
Have you tried to do a thread yet?
Get a piece of PVC or Delrin and try it.
Post pictures of your results.

You seem to have a lot of lash in Z though that should be taken up ahead of the thread.
What kind of stepper drivers do you have? What is the motor voltage. What is the make and model number of the stepper motors?
I see you have steps/rev set at 1600, you might change the dipswitches on the stepper drivers and try at least 2000.
Also no limit switches no soft limits set.

Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
martyscncgarage
Posts: 9914
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Threading op (Lathe) - Stepper stuttering

Post by martyscncgarage »

martyscncgarage wrote: Sat Aug 01, 2020 10:45 am You aren't going to hurt the stepper!
Have you tried to do a thread yet?
Get a piece of PVC or Delrin and try it.
Post pictures of your results.

You seem to have a lot of lash in Z though that should be taken up ahead of the thread.
What kind of stepper drivers do you have? What is the motor voltage. What is the make and model number of the stepper motors?
I see you have steps/rev set at 1600, you might change the dipswitches on the stepper drivers and try at least 2000.
Also no limit switches, no soft limits set. Though you just have to turn the diameter, measure etc.

Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
brassmanwithaplan
Posts: 32
Joined: Tue Aug 27, 2019 10:54 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 780483494848-0423191934
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: England, UK

Re: Threading op (Lathe) - Stepper stuttering

Post by brassmanwithaplan »

martyscncgarage wrote: Sat Aug 01, 2020 10:55 am
martyscncgarage wrote: Sat Aug 01, 2020 10:45 am You aren't going to hurt the stepper!
Have you tried to do a thread yet?
Get a piece of PVC or Delrin and try it.
Post pictures of your results.

You seem to have a lot of lash in Z though that should be taken up ahead of the thread.
What kind of stepper drivers do you have? What is the motor voltage. What is the make and model number of the stepper motors?
I see you have steps/rev set at 1600, you might change the dipswitches on the stepper drivers and try at least 2000.
Also no limit switches, no soft limits set. Though you just have to turn the diameter, measure etc.

Marty
NEMA 24 + M542T drivers,

Nothing fancy yet. I'd planned to convert on a budget then gradually exchange/upgrade parts as I go when the concept machine was sucessful for my needs (Which is is apart from threading)

The test cuts I made one that was good (It fit a threaded hole) although the finish wasn't great and the machine was still making the added vibration and juddery noises, but that could be other things.
One test created a double peak, i.e the timing of the thread start must has messed up somewhere.
And the other tests some of which stalled, although that is probably due to a high rpm mistake, so the stepper couldnt keep up with the acceleration etc.

I'll do a updated program and run some delrin or brass tomorrow and post the result, with program files and report.

-Dan :D
Post Reply