Threading issues..still < SOLVED, proper encoder required for threading>

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

mcbr549
Posts: 76
Joined: Thu Jul 02, 2020 5:38 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Spring, Texas
Contact:

Threading issues..still < SOLVED, proper encoder required for threading>

Post by mcbr549 »

Folks, My apologies for dragging this out, but I'm stuck...cannot thread on my lathe....As recommended in the last post, I purchased and installed a closed loop stepper (NEMA34) for the Z axis.

New Acorn board,
New encoder KOTO
all new ball screws nuts and bearings
new lathepro license
South Bend 1308
Rigid mounted encoder on shaft that is one to one with spindle
Verified all wiring
Splits leads every time.
Report and photos and video attached.
Attachments
IMG_4039.jpg
IMG_4037.jpg
IMG_4035.jpg
IMG_4036.jpg
IMG_4034.jpg
IMG_4032.jpg
IMG_4031.jpg
IMG_4030.jpg
IMG_4029.jpg
report_B4107B7729E4-0322237055_2023-06-10_12-48-58.zip
(887.9 KiB) Downloaded 4 times


tblough
Community Expert
Posts: 3557
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: Yes
Hickory CNC Controller: No
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: Threading issues..still

Post by tblough »

I can't tell from the photos, but is the alarm from the drive connected and have you tested and verified it working in CNC12? Is your spindle encoder 1024 lines and have you verified the asterisk on the PID screen appears once per spindle revolution in the exact same spot?

Where is the video?
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.


mcbr549
Posts: 76
Joined: Thu Jul 02, 2020 5:38 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Spring, Texas
Contact:

Re: Threading issues..still

Post by mcbr549 »

The encoder is 2000ppr. I have it set in the Wizard. I'm sorry, but I do not know enough about the PID to make any changes.


mcbr549
Posts: 76
Joined: Thu Jul 02, 2020 5:38 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Spring, Texas
Contact:

Re: Threading issues..still

Post by mcbr549 »

I checked the alarm by changing the input to normally open and when the z m oved it got a 9031 drive fault. I changed it back and it works. So, I assume that the board and the driver are communicating.

I went to the PID screen. On drive N, there is an asterisk at all times. I rotated the chuck and it did not disappear nor did I see another * pop up anywhere.
Can you give me some more instructions on how to check for this asterisk you mentioned.


mcbr549
Posts: 76
Joined: Thu Jul 02, 2020 5:38 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Spring, Texas
Contact:

Re: Threading issues..still

Post by mcbr549 »

And now, I have no spindle rpm's


tblough
Community Expert
Posts: 3557
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: Yes
Hickory CNC Controller: No
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: Threading issues..still

Post by tblough »

If your encoder is 2000ppr, then that is probably your problem. You have CNC12 set for a 1024 line encoder, or 4096 quadrature transitions per revolution. That causes CNC12 to see 2 index pulses per spindle rev insted of exactly one which splits the thread.

With a 2000 line encoder you need to set Axis 6 encoder pulses to 8000 (4 transitions per line).
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.


mcbr549
Posts: 76
Joined: Thu Jul 02, 2020 5:38 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Spring, Texas
Contact:

Re: Threading issues..still

Post by mcbr549 »

One last question. I have it set in the Wizard at 8000. Where else should I set it?


mcbr549
Posts: 76
Joined: Thu Jul 02, 2020 5:38 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Spring, Texas
Contact:

Re: Threading issues..still

Post by mcbr549 »

New repoort attached.
Attachments
report_B4107B7729E4-0322237055_2023-06-11_14-08-38.zip
(809.03 KiB) Downloaded 4 times


cncsnw
Community Expert
Posts: 4651
Joined: Wed Mar 24, 2010 5:48 pm
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No

Re: Threading issues..still

Post by cncsnw »

Setting it in the Wizard is all you need to do.

In your report, you have Parameter 35 = 5 (meaning that your spindle "axis" is axis #5); and Parameter 34 = 8000 (meaning your spindle encoder has 2000 lines, 8000 counts, and counts positive as the spindle rotates forward).

Even though Parameter 35 associates axis #5 with the spindle, the axis #5 settings on the Machine Configuration -> Motor Parameters table are irrelevant. The encoder resolution and direction are set in Parameter 34.
I went to the PID screen. On drive N, there is an asterisk at all times. I rotated the chuck and it did not disappear nor did I see another * pop up anywhere.
Can you give me some more instructions on how to check for this asterisk you mentioned.
There are probably multiple "drive N" lines on the PID screen. If you are trying to troubleshoot your spindle encoder, you are interested only in what is on line 5, for the 5th axis encoder. That should be the line on which you see the "Abs Pos" value change when you turn the lathe chuck.

If you see an asterisk next to the 'N' on that line at all times, regardless of chuck position, then you have a problem with your spindle encoder or its wiring. My first guess would be that you have the index pulse (Z channel) polarity backwards. Try swapping the wires on pins 3 and 6 of your DE9 connector, then check again for the asterisk.


mcbr549
Posts: 76
Joined: Thu Jul 02, 2020 5:38 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Spring, Texas
Contact:

Re: Threading issues..still

Post by mcbr549 »

mike spindle.jpg
The * by the N is always there, even with no encoder plugged into the board.

I have completely uninstalled the software,,,again,,,reset it all over and nothing changes.....I reversed the wires as you recommended as well.


Post Reply