Problem with threading

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

avangard
Posts: 16
Joined: Sat Sep 07, 2019 9:17 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Problem with threading

Post by avangard »

Hi
Sorry for my English
I have a problem with threading. 5 days I try to set up the machine but nothing works.

Machine parameters
Samsung AC Servo System CSDJ Plus Servo Drive on X and Z. Servo motor with 2048 encoder.
Z axis 4mm per revolution with reduction 25/3
X axis 2mm per revolution with reduction 25/3
Spindle motor with VFD 1.5Kwt Encoder 1:1 Atek type ARC S50 4096 HPL 6 3M ABC Y100

https://youtu.be/8oQq6XrW5Bo

I read almost everything on the forum about the causes of improper threading. I tried changing the parameters 240 and 242. Something is changing but still the thread is wrong.
I checked the encoder and it gives 16386 pulses per spindle revolution.
I checked the encoder readings with a manual tachometer. Indications are the same.
I double-checked the accuracy of movement along the Z axis. When moving 200mm, accuracy is 0.002mm.

I guess I missed some little thing and I can’t figure it out myself.
I really hope for help.
Thanks.
Attachments
Encoder
Encoder
Encoder
Encoder
Encoder
Encoder
My lathe
My lathe
My lathe
My lathe
When I try to thread M10x1.5 at a speed of 1000 rpm I get this result.
When I try to thread M10x1.5 at a speed of 1000 rpm I get this result.
When I try to thread M10x1.5 at a speed of 640 rpm I get this result.<br />It seems that the thread is less than half.
When I try to thread M10x1.5 at a speed of 640 rpm I get this result.
It seems that the thread is less than half.
report_3403DE6C7FEF-0717192286_2020-02-13_19-27-25.zip
A report file.
(276.18 KiB) Downloaded 143 times
120220.cnc
Here is a program from Intercon.
(1002 Bytes) Downloaded 139 times
Last edited by avangard on Thu Feb 13, 2020 5:47 pm, edited 2 times in total.
Chaz
Posts: 392
Joined: Thu Feb 08, 2018 7:57 am
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Problem with threading

Post by Chaz »

That threading is very fast. Slow it down to something like 240 RPM and try it.

Are you 100% sure that your Z and X are set correctly?

You say 0.002 micron, this cannot be. I assume that's mm?
avangard
Posts: 16
Joined: Sat Sep 07, 2019 9:17 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Problem with threading

Post by avangard »

I send a command to the machine to move 200mm along the Z axis and as a result I get 200.002 - 200.001 mm
avangard
Posts: 16
Joined: Sat Sep 07, 2019 9:17 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Problem with threading

Post by avangard »

Chaz wrote: Thu Feb 13, 2020 5:24 pm That threading is very fast. Slow it down to something like 240 RPM and try it.
And what will it give me? The machine allows me to cut threads at 1000 rpm and must do it correctly both at 1000 rpm and at 240 rpm.
The machine does not cut the correct thread at any speed.
tblough
Posts: 3102
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Boston, MA
Contact:

Re: Problem with threading

Post by tblough »

Does your spindle index pulse repeat at the same spindle orientation once and only once every revolution? Your encoder should be giving 16,384 pulses per revolution - I assume the 16,386 was a typographical error? On the PID screen are there any errors listed for the spindle axis in the DQOA column?
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
avangard
Posts: 16
Joined: Sat Sep 07, 2019 9:17 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Problem with threading

Post by avangard »

No errors on PID screen. Encoder gives 16384. I checked the encoder readings with a manual tachometer. Indications are nearly the same.
I changed the spindle speed from 320 to 1000 revolutions. I changed the parameter 240 to 8. The beginning of the thread is more similar, in the end just a groove is made. If 240 is set to 0.5, the thread becomes exactly two times smaller, such that it is possible to freely tighten the nut.
avangard
Posts: 16
Joined: Sat Sep 07, 2019 9:17 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Problem with threading

Post by avangard »

tblough wrote: Thu Feb 13, 2020 5:59 pm Does your spindle index pulse repeat at the same spindle orientation once and only once every revolution?
I do not fully understand your question. I rotate the spindle one revolution and see in PID 16,384 pulses. Is that right?
cncsnw
Posts: 3854
Joined: Wed Mar 24, 2010 5:48 pm

Re: Problem with threading

Post by cncsnw »

If you make just one pass, rather than cutting the thread all the way to depth, do you get a clean cut with the correct lead?

It looks to me like the starts are not synchronized. That would indicate a problem reading the index pulse (Z channel) from the spindle encoder.

The index pulse should come around just once per revolution, at the same place every time. The data sheet for your encoder indicates that it is gated with A and B high, so the index pulse is only one count wide. On the PID Configuration screen, when the index pulse comes around, you will see an asterisk ('*') flash next to the label 'N' in the left-most column, for the 5th axis (spindle encoder).

Check this first while turning the spindle by hand. Does it come around once per turn, in the same place every time?

If you have an oscilloscope, use it to watch the Z and /Z wires of your spindle encoder, first while turning the spindle by hand, then while running it with power from the spindle drive.

I am guessing that you will see nice clean index pulses once per turn when you turn the spindle by hand, and that you will see a lot of noise (which the controller may read as index pulses in the wrong places) when the spindle drive is running.
avangard
Posts: 16
Joined: Sat Sep 07, 2019 9:17 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Problem with threading

Post by avangard »

Thanks. I will check with the oscilloscope and manually. Maybe you're right. It’s just very expensive to buy an encoder from Centroid in my country. With shipping, its price is about $ 650 ...
Therefore, you have to choose from what you can really buy here.
Chaz
Posts: 392
Joined: Thu Feb 08, 2018 7:57 am
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Problem with threading

Post by Chaz »

avangard wrote: Thu Feb 13, 2020 5:39 pm
Chaz wrote: Thu Feb 13, 2020 5:24 pm That threading is very fast. Slow it down to something like 240 RPM and try it.
And what will it give me? The machine allows me to cut threads at 1000 rpm and must do it correctly both at 1000 rpm and at 240 rpm.
The machine does not cut the correct thread at any speed.
Because doing it slower might give you the opportunity to see why its not doing it correctly.

Of course the machine should work (within reason) at all speeds.

At slower speeds you are removing the need for high acceleration. Its good that you are using servos, that generally rules out missed steps but clearly something is not right. Just trying to help.
Post Reply