Halcmd is an interactive hal command line.   -fk just means don't exit if
there is an error and use input from a file if specified - if no file is
specified use keyboard (standard I/O). (I didn't specify a file)

This let's you run Hal commands and see the guts of linuxcnc.  Very useful
and powerful.  I use it all the time.

On Mon, Mar 9, 2020, 12:18 AM John Dammeyer <jo...@autoartisans.com> wrote:

> So the
> http://linuxcnc.org/docs/html/man/man1/halcmd.1.html
> says \-f[file]
>
> halcmd -fk means k is a file?
>
> I'm confused.
> John
>
>
> > -----Original Message-----
> > From: Sam Sokolik [mailto:samco...@gmail.com]
> > Sent: March-08-20 9:44 PM
> > To: Enhanced Machine Controller (EMC)
> > 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
> >
> >
> > 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
>
>
>
> _______________________________________________
> 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