Help needed on the best way to control a 8 position lathe turret

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

jumps4
Posts: 143
Joined: Wed Oct 10, 2018 8:37 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38d2697ca033-0611180974 mpu12
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: New Port Richey, Fl. USA
Contact:

Re: Help needed on the best way to control a 8 position lathe turret

Post by jumps4 »

A progress report:
the acorn turret 1 output software worked good except my turret needed a different way to reverse and lock.
here is a video of my solution
I have a person at Arduino helping me write software to save tool positions where ever I need them instead of just increments of 45 degrees.
I will use a 8000 pulse per rev encoder to locate the tool positions saved in Arduino and it will send gray code to Acorn to stop rotating the turret. then this timer reverses and locks the turret.
I also have incorporated automatic tool height measurement in the system to save in Arduino
Steve

https://www.youtube.com/watch?v=WkVG5yp ... e=youtu.be
No Brains, No Headaches...
Muzzer
Posts: 728
Joined: Mon Feb 19, 2018 2:52 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38D269594F9C-0110180512
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: UK
Contact:

Re: Help needed on the best way to control a 8 position lathe turret

Post by Muzzer »

"Video unavailable. This video is private"
jumps4
Posts: 143
Joined: Wed Oct 10, 2018 8:37 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38d2697ca033-0611180974 mpu12
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: New Port Richey, Fl. USA
Contact:

Re: Help needed on the best way to control a 8 position lathe turret

Post by jumps4 »

Sorry, i fixed it now.
They changed things in YouTube and I missed something.
Steve
No Brains, No Headaches...
jumps4
Posts: 143
Joined: Wed Oct 10, 2018 8:37 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38d2697ca033-0611180974 mpu12
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: New Port Richey, Fl. USA
Contact:

Re: Help needed on the best way to control a 8 position lathe turret

Post by jumps4 »

could someone look at this report please
I had everything on my tool changer working fine
I'm only using 3 inputs for gray logic and it was working great
I shut down and came back out in the morning and now Acorn does not see or show the tool number
I reinstalled the same version of 1 output gray logic code I was using, no difference
pressing aux11 starts the turret rotating but since it does not display the tool numbers it rotates until time out.
pressing alt I and viewing inputs shows normal and inputs changing as the turret rotates.
the inputs reflect the correct tool number it is on.
after shutting down and powering off the PC was unplugged for the night and there were no windows updates that day,there is no internet
Thank you
Steve
Attachments
report_38D2697CA033-0611180974_2019-10-17_14-26-20.zip
(445.14 KiB) Downloaded 138 times
No Brains, No Headaches...
jumps4
Posts: 143
Joined: Wed Oct 10, 2018 8:37 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38d2697ca033-0611180974 mpu12
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: New Port Richey, Fl. USA
Contact:

Re: Help needed on the best way to control a 8 position lathe turret

Post by jumps4 »

found the problem
windows10 made the folder read only and my changes could not be saved when leaving.
and so far I cant get permission to change it to not read only
trying windows update again maybe there is a fix

Thank You Windows 10
ARRRRGGGG
No Brains, No Headaches...
Nigelo
Posts: 370
Joined: Tue Dec 11, 2018 4:03 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: F045DA80C8B8-0905181172
E415F6F70BC3-0318203049
98F07B91FC6B-0123236802
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: UK

Re: Help needed on the best way to control a 8 position lathe turret

Post by Nigelo »

Check your Win10 User account is set to Administrator and then try resetting folder permissions again
Hope this helps
Nigel

"You can lead a horse to water but you cannot force it to drink"
jumps4
Posts: 143
Joined: Wed Oct 10, 2018 8:37 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38d2697ca033-0611180974 mpu12
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: New Port Richey, Fl. USA
Contact:

Re: Help needed on the best way to control a 8 position lathe turret

Post by jumps4 »

thank you Nigelo
It was just on the folder not the files
my problem ended up being in my code that was only using 3 inputs for 8 tools.
Acorn didn't like it and would not remember and reload the settings. It would run until you powered off acorn then be lost.
we are fixing the Arduino code to match Acorns use of 4 inputs.
Steve
No Brains, No Headaches...
jumps4
Posts: 143
Joined: Wed Oct 10, 2018 8:37 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38d2697ca033-0611180974 mpu12
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: New Port Richey, Fl. USA
Contact:

Re: Help needed on the best way to control a 8 position lathe turret

Post by jumps4 »

If anyone is interested in the Arduino work being done and encoder information it is here. I have a guy helping me "WildBill" that is a coding wizard.
I could have never done this without him. It's still not finished because of encoder noise but I'm close.
Steve

https://forum.arduino.cc/index.php?topic=639293.0
No Brains, No Headaches...
jumps4
Posts: 143
Joined: Wed Oct 10, 2018 8:37 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38d2697ca033-0611180974 mpu12
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: New Port Richey, Fl. USA
Contact:

Re: Help needed on the best way to control a 8 position lathe turret

Post by jumps4 »

The software and electronics were completed today and the first part made with the new processor controlled turret.
Thanks for viewing
Steve





Attachments
First Parts
First Parts
No Brains, No Headaches...
jumps4
Posts: 143
Joined: Wed Oct 10, 2018 8:37 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38d2697ca033-0611180974 mpu12
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: New Port Richey, Fl. USA
Contact:

Re: Help needed on the best way to control a 8 position lathe turret

Post by jumps4 »

I have my turret working perfect with the Arduino and a new controller board I built.
I ended up using a Harmonic drive with a sprag so I have zero backlash.
I'm using the gray code single output setup for v4.18
my problem is my turret starts rotating before it reaches the tool change position.
I need it to not rotate until it has reached the tool change position.





Is there any way I can set an output to only activate when I'm in the tool check position?
I need to set my turret to only rotate when I'm in the tool check position.
I would like output 8 relay to activate in tool change position if possible.
Thank you
Steve
Last edited by jumps4 on Thu Mar 25, 2021 12:33 pm, edited 1 time in total.
No Brains, No Headaches...
Post Reply