My system is based on Oleg's with a number of changes. I certainly
would not have a system without that excellent base code. The
original software did not offer flank cutting or additional passes.
Richard
On 19/10/2020 17:30, Ralph Hulslander
wrote:
toggle quoted message
Show quoted text
Richard is that Oleg's method or did you eliminate
his code and add yours?
Ralph
On Mon, Oct 19, 2020 at 12:08
PM John Dammeyer <
johnd@...> wrote:
Ah.? So
you do exactly the same thing mine does for following
the flank.? The only difference is mine
doesn't do the extra move in the Z threading direction
before it waits for the index and does the pass.?
?
Mine returns to
that new calculated Z position and then waits for the
index to start the next one.? Given how
fast the spindle turns it's not a big deal to wait one
extra revolution.
?
I was under the
impression you still closed the half nut to start each
threading pass.? Maybe that's a
different Arduino based system.
?
And mine lets the
operator decide how deep to make the first pas and
then how deep for each of the subsequent main
threading passes plus the number of spring passes.?
Or, given the pitch can calculate how deep to
make each pass and therefore the number of passes.?
First pass and spring passes are still up to
the operator.
John
?
?
?
My X
infeed per pass is based on a constant area
calculation where obviously the depth of the very
first pass dictates the area of the first cut and
therefore subsequent cuts.
When commencing an Auto Thread sequence the operator
either accepts the default first pass depth for that
pitch of thread or adjusts it to a value appropriate
to the material and tool. When the cycle runs each
subsequent pass depth increment reduces (by
calculation) to ensure the constant area. Limits have
previously been set for Z. A cutting pass will end at
the Z end limit and after X is retracted the carriage
will then return to the Z start limit.
If the system is set to cut on the flank, having
calculated the required total depth for a pass a Z
increment is calculated by multiplying that pass depth
by 0.566. At the start of a pass Z is moved by this
amount and X is moved into depth. Once these moves
finish the Z axis then starts its threading move on
the zero count of the encoder.
I did not think it was "clever" but maybe I am missing
something?
Richard
On 19/10/2020 09:10, John
Dammeyer wrote:
Well if you
are following the hypotenuse of the 28.5 degree
triangle then for each pass X is a bit deeper and Z
is closer to the headstock if the thread is cut
towards the headstock.? Simple trig.
?
But if you
keep the Z starting position the same then to start
the cut a bit further along the thread the spindle
has to rotate a different amount while the Z axis
motor is accelerating so the tool enters the work
over by that Z amount.
?
So I'm
curious how your system tracks the flank of the
thread.
?
John
?
?
Wow
John you have got me worried now! I did not think
that it was "clever math" so I had better go back
and check what I did.
Richard
On 18/10/2020 17:30, John
Dammeyer wrote:
Hi
Ralph,
So
you have written the 'clever math' to do this.?
Super.? Looking forward to a
detailed explanation on how you've done that.
John
?
?
?
Actually
John I think that Ralph was directing the question
to John Lindo!
Further to the comment you made that I repeat
below, sorry John you are incorrect. I am using
the Russian ELS on on Arduino Mega and I have
"modified" the software. I have constant area
cutting and the operator can pick plunge or flank
cutting. After reaching the calculated depth for
the Metric or Imperial thread further passes are
possible at increments chosen by the operator. I
also have the capability of clearing the tool away
from the job? in X for testing then subsequently
moving it back to the original position if further
cuts are needed. As the system is encoder
controlled the speed can vary whilst cutting.
Richard
On 17/10/2020 23:31, John
Dammeyer wrote:
?
Unless
the math is really clever on the Arduino based
electronic gearing systems they can't do it
either.
?
?
?
?
?
--
Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta
drill press, 40 watt laser, Consew brushless DC motors and a non
working 3D printer