On Sun, 8 Mar 2020, Sam Sokolik wrote:

Date: Sun, 8 Mar 2020 23:43:30 -0500
From: Sam Sokolik <samco...@gmail.com>
Reply-To: "Enhanced Machine Controller (EMC)"
    <emc-users@lists.sourceforge.net>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Subject: Re: [Emc-users] Non-circular boring. Linuxcnc style.

The polygon Hal component can be enabled/disabled.

Here is me experimenting with parameters

http://electronicsam.com/images/greenmachine/2020-03-07-191256_1920x1080_scrot.png



Since the spindle velocity is relatively constant it might be possible to low pass filter the spindle position and make the xy motion a bit less "crunchy"




On Sun, Mar 8, 2020, 11:34 PM John Dammeyer <jo...@autoartisans.com> wrote:

But how is it done then?   I mean you wouldn't want X and Y moving on you
when you accidentally turn the spindle while tightening the drill chuck.
Yet it appeared your turned the tool and the XY axis moved.

Thanks
john


-----Original Message-----
From: Sam Sokolik [mailto:samco...@gmail.com]
Sent: March-08-20 9:02 PM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] Non-circular boring. Linuxcnc style.

The spindle has a 36 tooth gear with quadrature gear tooth sensors. So
only
144 counts per rev.   Partly why it is so noisy.

On Sun, Mar 8, 2020, 10:30 PM John Dammeyer <jo...@autoartisans.com>
wrote:

Cool.
How is this done?  As I recall your spindle didn't have 1000 pulses per
rev or anything.  Does it just calculate the current angle of the
spindle
and then send motion commands to XY?
Thanks
John


-----Original Message-----
From: Sam Sokolik [mailto:samco...@gmail.com]
Sent: March-08-20 8:18 PM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] Non-circular boring. Linuxcnc style.

Exactly

On Sun, Mar 8, 2020, 10:16 PM John Dammeyer
<jo...@autoartisans.com>
wrote:

So was it using the spindle position as you turned it manually to
move
X
and Y?
John


-----Original Message-----
From: Sam Sokolik [mailto:samco...@gmail.com]
Sent: March-08-20 7:09 PM
To: Enhanced Machine Controller (EMC)
Subject: [Emc-users] Non-circular boring. Linuxcnc style.

Using eoffset functionality - I created a small hal component
that
calculates a polygon based on the tool orientation - moving x
and y
accordingly..  It is based on work that andy did on his lathe.

You enter tool radius, number of sides, inscribed radius of the
polygon.
(still a work in progress - I don't have a way a easy to set the
tool or
polygon orientation.)

based on this formula
https://math.stackexchange.com/a/41954

I forgot to copy my current code off the machine..  will this
week.

https://www.youtube.com/watch?v=c9tWtEG1Exc

_______________________________________________
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


_______________________________________________
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


_______________________________________________
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


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


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.



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

Reply via email to