Page 9 of 11

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

Posted: Fri Oct 11, 2019 2:28 pm
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

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

Posted: Sat Oct 12, 2019 5:49 am
by Muzzer
"Video unavailable. This video is private"

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

Posted: Sat Oct 12, 2019 8:47 am
by jumps4
Sorry, i fixed it now.
They changed things in YouTube and I missed something.
Steve

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

Posted: Thu Oct 17, 2019 2:35 pm
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

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

Posted: Thu Oct 17, 2019 3:33 pm
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

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

Posted: Sat Oct 19, 2019 1:58 pm
by Nigelo
Check your Win10 User account is set to Administrator and then try resetting folder permissions again

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

Posted: Sat Oct 19, 2019 5:30 pm
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

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

Posted: Sun Oct 20, 2019 1:27 pm
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

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

Posted: Tue Dec 03, 2019 6:10 pm
by jumps4
The software and electronics were completed today and the first part made with the new processor controlled turret.
Thanks for viewing
Steve






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

Posted: Wed Mar 24, 2021 5:03 pm
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