Page 7 of 11

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

Posted: Wed Sep 25, 2019 1:45 pm
by jumps4
ok
thanks
please answer this question
in a tool change macro can i turn on a output for a certain amount of time, then off then on ect
on off on off on off = tool 3 on a output pin to a Arduino

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

Posted: Wed Sep 25, 2019 1:57 pm
by jumps4
jumps4 wrote: Wed Sep 25, 2019 1:45 pm ok
thanks
please answer this question
in a tool change macro can i turn on a output for a certain amount of time, then off then on ect
on off on off on off = tool 3 on a output pin to a Arduino
BUT please why can't i get this question answered
I have asked it many times
in a tool change macro or even a aux button macro, can i turn on a output for a certain amount of time, then off then on ect?
Steve

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

Posted: Wed Sep 25, 2019 2:25 pm
by jumps4
Sorry Keith I missed your answer to my question.
the simple yes... was easy to miss
thank you
Steve

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

Posted: Wed Sep 25, 2019 2:27 pm
by Allin1Chris
Steve, Try the Gray_Code_2_Output_Rev1 in this zip located here. The 2 Output PLC will match the Schematic you have been looking at, and should be closer to what you need.

https://www.centroidcnc.com/centroid_di ... s_rev2.zip

Simply if the Axis Driven one does not work out for you.

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

Posted: Wed Sep 25, 2019 2:53 pm
by jumps4
thanks Chris
After making all of these parts and electronics. and all i made actually works.
It is a bit hard to go to simple "G0 A 45.00" degrees and not know if it is even there.
that is why I was favoring the gray code, there is an error if the tool change fails.
All this work, The lathe will sit until I figure it out.
Thanks again
Steve

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

Posted: Thu Sep 26, 2019 9:28 am
by jumps4
REVISION: THESE ENCODERS ARE JUNK !!!!


here is a find that may be a point of interest for others considering 4 wire gray logic.
this is a 5 pin, common and 4 in
16 position gray logic mechanical encoder 360 rotation
will work for 24v
I just purchased 2 for $21.33 inc postage
Steve

26GS22-01-1-16S-C 16-Position Mechanical Encoder

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

Posted: Thu Sep 26, 2019 9:30 am
by cnckeith
great..thanks for reporting back..post a video when you get the turret back on the machine and cutting a part!

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

Posted: Thu Sep 26, 2019 9:45 am
by jumps4
hopefully i have the correct wiring diagram this attempt
Steve

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

Posted: Thu Sep 26, 2019 10:05 am
by martyscncgarage
jumps4 wrote: Thu Sep 26, 2019 9:45 am hopefully i have the correct wiring diagram this attempt
Steve
Steve, you are doing a great job. Persistence will pay off.
Hopefully once you wrap it up, you will provide your final report, how your turret operates and perhaps a sketch of your turret specific wiring.

Marty

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

Posted: Thu Sep 26, 2019 10:38 am
by jumps4
Thanks Marty
I don't hurry
as in the title I'm looking for the best way not just what may suffice
I might fail but not without a struggle, so that's OK with me.
Steve