>
> I'm guessing you are suggesting something like what Gene was that the home
> switch isn't at the end of travel but somewhere else and once activated
> never goes inactive in that same direction.   So if you start a home
> sequence and the switch is ON you know you have to go to the right until it
> goes OFF.  It can't over travel past the OFF position and go ON again.
> That approach lets the Home Switch be pretty well anywhere.
>

Not exactly Gene's setup, although that is a good idea too if you want to
have your home switch somewhere in the middle of your carriage travel. What
I thought is something like what I've seen on the CNC lathes we have in the
shop. You have the home switch right next to your limit switch. Also you
have to set your soft limits so your travel ends right before hitting the
hard limits. That way, you're always sure when you turn off your machine
you'll always be at the right side of the home switch. Of course this eats
some travel out of your Z axis but that's the price to pay for safety. The
obvious difference here is that on slanted bed CNC lathes you don't have to
worry about your carriage hitting the tailstock because they rest in
different ways (although tools can hit the tailstock that's why X axis is
always homed and cleared before Z).

Unless the limit switch is movable it's useless.  My carriage can go much
> further to the left to turn near the part held in the 5C collet than it can
> with the part held in the 3-Jaw.  So a crash into the spinning 3-Jaw can
> happen without ever touching the limit.  And if the limit does prevent that
> one can't turn a part close to the collet.
>

That's why having a proper home sequence is the key to avoid hitting the
chuck with the tool. You'll have to set the homing for the X axis first and
send it to a safe location so the Z homing can happen without crashing. Of
course this is assuming you can guarantee enough clearance for any tool
installed on your toolpost when doing the X axis homing. If your chuck is
too large, or you have a tool sticking too far out of your tool post that
even retracting the X axis to the fullest you can hit your 3 jaw chuck then
please forget about homing to the chuck side and consider Gene's method.


> I understand that the machine coordinate for x at the home switch is
> 0.000.
>

Not necessarily. You can set that with the HOME_OFFSET variable. If
HOME_OFFSET is 0 then your origin is at the home switch or index pulse
detection. But you can set HOME_OFFSET with whatever value you need. Then
when the switch trips on the final latch move LCNC instantly sets that
value for the G53 coordinate system. Beware that if your HOME OFFSET value
differs from your HOME value, once the switch is tripped for the last time
and G53 is set, the axis will move to the HOME position at HOME_FINAL_VEL
or maximum velocity if HOME_FINAL_VEL is 0.

And measuring the tool tip relative to how it mounts into the AXA holder
> can be done creating an offset from the home switch.v  Now each time the
> tool holder +tool  is put into the AXA the distance from the tool table is
> offset from that home position and LCNC knows where the tip and can turn a
> diameter.  Theoretically.


I might be wrong but LCNC doesn't care about the distance between the tool
tip and the home position or G53 origin. You set your X coordinate for your
tool against a known position (in this case the easiest is to skim cut and
input diameter/radius) and LCNC knows that the diameter/radius value you
entered corresponds to a given absolute machine position.


> However as  soon as the holder is pivoted even slightly the distance of
> the tool tip relative to the home switch changes.   And it changes
> differently depending on how far the tool protrudes out of the AXA holder
> right?
>
> So the tool measurements are only useful with the AXA in one position and
> that can change really easily in the home shop.  We're not talking a
> commercial production operation where the setup is the same over a long
> period of time.
>
> I suppose if you can touch of or measure the new position of the tool tip
> you can then use simple trig to determine the angle that the AXA holder has
> pivoted.  Unless it also slid in the T-Slot which now moves it in more than
> one dimension.
>
> Doe my explanation make sense?  A small shop lathe where the operator can
> shift the tool bit around relative to the X home switch and even on the
> carriage relative to the Z home switch suggest a tool table for a LCNC
> lathe is virtually impossible.
>
> So I can manually turn that shaft.  Leave the X axis where it is and
> measure the diameter; say exactly 1.000".   Then click on the "Touch Off"
> on the display and enter half the diameter (0.5") for the offset.
> Now a request to move the X to 0.480" to do a 0.020" deep pass should work
> right?
>
> But the tool table and for that matter the home switch and machine
> coordinate system is pretty well useless.  Or have I missed something?
>

Well, the tool table might be useless or at least inconvenient if you have
to pivot your toolpost frequently and you can't register those changes in a
way that they can be entered in the tool table. Tool table is only useful
if you can guarantee a repeatable setup of your tools everytime you
exchange them.

Home switches aren't that useless because they set your soft limits so if
your program tries to move beyond those limits you have a safety measure to
avoid overtravel.

El dom, 4 dic 2022 a las 10:31, Stuart Stevenson (<stus...@gmail.com>)
escribió:

> You might try the FADAL mill method.
>
> They use two arrows (markers). One on the moving member and one on the
> unmoving member. You physically align the arrows and run the home routine.
> The next found index mark on the encoder is the home position.
>
> regards
> Stuart
>
>
> On Sun, Dec 4, 2022 at 1:25 AM gene heskett <ghesk...@shentel.net> wrote:
>
> > On 12/3/22 22:56, John Dammeyer wrote:
> > >>
> > >>  From what I understand you're talking about a normal parallel lathe
> so
> > here
> > >> are my thoughts:
> > > Yes.  And thank you.
> > >>
> > >>> The Z axis is more interesting.  Before homing I imagine the tail
> stock
> > >>> has to be loosened and moved all the way to the right as far away
> from
> > the
> > >>> headstock to ensure finding a home switch.  Or a home switch could be
> > >>> somewhere in the middle but then which direction to search?
> > >>>
> > >>
> > >> I think the safest setup  in this case (given your Z axis can crash
> with
> > >> the tailstock if you forget to move it all the way to the right) will
> be
> > >> having the home switch towards the chuck side (with a proper
> > >> independent limit switch right at the left of the home switch to avoid
> > >> crashes when homing). This way you can set up your homing sequence to
> > first
> > >> home the X axis to move it to a safe place and then home the Z axis
> > towards
> > >> the chuck.
> > >
> > > I'm guessing you are suggesting something like what Gene was that the
> > home switch isn't at the end of travel but somewhere else and once
> > activated never goes inactive in that same direction.   So if you start a
> > home sequence and the switch is ON you know you have to go to the right
> > until it goes OFF.  It can't over travel past the OFF position and go ON
> > again.  That approach lets the Home Switch be pretty well anywhere.
> > >
> > > Unless the limit switch is movable it's useless.  My carriage can go
> > much further to the left to turn near the part held in the 5C collet than
> > it can with the part held in the 3-Jaw.  So a crash into the spinning
> 3-Jaw
> > can happen without ever touching the limit.  And if the limit does
> prevent
> > that one can't turn a part close to the collet.
> > >
> > >>
> > >> How does one determine, with that tool tip, where the lathe centerline
> > is
> > >>> and set that so G54 X is 0.000?
> > >>>
> > >>
> > >> I think you're asking about tool setting. If you have tool fixtures
> that
> > >> ensure that whenever you change your tool you get the exact same tool
> > >> position then it's just like a CNC turret. You just take a skim cut on
> > the
> > >> diameter (or maybe use some fine paper to gauge the tool against the
> > >> workpiece) and then measure and input the diameter (or radius
> depending
> > if
> > >> you're in G7 or G8) in the touch off popup.
> > >>
> > > Thanks.  I'm going to have to study that a bit further.
> > > I understand that the machine coordinate for x at the home switch is
> > 0.000.
> > >
> > > And measuring the tool tip relative to how it mounts into the AXA
> holder
> > can be done creating an offset from the home switch.v  Now each time the
> > tool holder +tool  is put into the AXA the distance from the tool table
> is
> > offset from that home position and LCNC knows where the tip and can turn
> a
> > diameter.  Theoretically.
> > >
> > > However as  soon as the holder is pivoted even slightly the distance of
> > the tool tip relative to the home switch changes.   And it changes
> > differently depending on how far the tool protrudes out of the AXA holder
> > right?
> > >
> > > So the tool measurements are only useful with the AXA in one position
> > and that can change really easily in the home shop.  We're not talking a
> > commercial production operation where the setup is the same over a long
> > period of time.
> > >
> > > I suppose if you can touch of or measure the new position of the tool
> > tip you can then use simple trig to determine the angle that the AXA
> holder
> > has pivoted.  Unless it also slid in the T-Slot which now moves it in
> more
> > than one dimension.
> > >
> > > Doe my explanation make sense?  A small shop lathe where the operator
> > can shift the tool bit around relative to the X home switch and even on
> the
> > carriage relative to the Z home switch suggest a tool table for a LCNC
> > lathe is virtually impossible.
> > >
> > > So I can manually turn that shaft.  Leave the X axis where it is and
> > measure the diameter; say exactly 1.000".   Then click on the "Touch Off"
> > on the display and enter half the diameter (0.5") for the offset.
> > > Now a request to move the X to 0.480" to do a 0.020" deep pass should
> > work right?
> > >
> > > But the tool table and for that matter the home switch and machine
> > coordinate system is pretty well useless.  Or have I missed something?
> > >
> > > John
> > >
> > >
> > Don't adjust your antenna, you got it, John, the reception is perfect.
> > The main reason for a home sw is the let the machine know where its at
> > in the absolute sense, I've surveyed my bed for wear, and corrected it
> > with a lincurve/offset module combo. Rather satisfying to see the X
> > motor turn a bit as the Z is scanned. But, its effect is determined by
> > the absolute z position established by the home switch. It does not
> > respond to z touch off, only to the real position.
> >
> > Threading to any std, or to one you've invented is nothing but arguments
> > to the G76 routine. I've even abused G76 to make compression fittings
> >
> > The main advantage to cnc'ing a lathe is that its far faster at
> > executing the move codes than you can squint at a dial and do it by hand
> > in between cuts, it turns the crank in milliseconds and gets on with the
> > job.
> >
> > With no compound, mine was broken beyond redemption by a fall over no
> > one mentioned before I bought it, so LinuxCNC IS my compound, and far
> > more accurate than you can turn a compound and set it, fraction of a
> > degree several digits right of the decimal point with submicron errors
> > can be done by LinuxCNC. W/o a compound.
> >
> > It is all done with 2 stepper/servo motors and a raspberry pi4b, and w/o
> > a PID module anyplace. The driver does it all, including stopping
> > LinuxCNC in a millisecond if a motor can't get to where it was told to
> > go. I can set a stopped chuck jaw in the way, and program a .2" a second
> > move into the chuck jaw, it touches the jaw and springs back about 10
> > thou as the drivers shut down, without marking the jaw, or damaging the
> > carbide chip in the tool. Tested many times doing that, but it has yet
> > to actually shut down a job.
> >
> > And if you want to step out of the way of burning swarf, the programs
> > linear speed can be turned way up, w/o worrying about getting holes
> > burnt in your clothes by white hot swarf. Carbide tooling is right at
> > home with those temps, human skin isn't. Coolant would be nice, but this
> > 80 year old Sheldon has no way to collect the coolant to reclaim it.
> >
> > Cheers, Gene Heskett.
> > --
> > "There are four boxes to be used in defense of liberty:
> >   soap, ballot, jury, and ammo. Please use in that order."
> > -Ed Howdershelt (Author, 1940)
> > If we desire respect for the law, we must first make the law respectable.
> >   - Louis D. Brandeis
> > Genes Web page <http://geneslinuxbox.net:6309/>
> >
> >
> >
> > _______________________________________________
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
>
>
> --
> Addressee is the intended audience.
> If you are not the addressee then my consent is not given for you to read
> this email furthermore it is my wish you would close this without saving or
> reading, and cease and desist from saving or opening my private
> correspondence.
> Thank you for honoring my wish.
>
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to