On Monday 10 August 2015 11:21:18 Jim Craig wrote:

> You can add the pop up message to your g-code with the following
>
> (MSG, Move the jig!)
> M0
>
> The MSG will line will pop up the message box and the M0 will pause
> the program waiting for you to resume it.
>
Eggzactly what I was looking for. I'm not quite done adding that code, 
figured I had better take the missus someplace for a nose bag.

Thanks Jim.

Next, I am trying to figure out a way to make the jig move in and out 
automatically, and I think am out of pins on that db25.  First I'm going 
to demolish an old cd reader because the tray motor is exactly what I 
need for that since the jig itself is only about 2oz.  Then find some 12 
volts to run it.

Lots of fun.  I want the gcode to self calibrate everytime I hit the r 
key after clamping up a fresh workpiece.  The fewer operations it relies 
on me to do, the better off I am.  And moving the jig in and out is one 
of those easily forgotten until its chewed up things.

> I am using this same setup to allow me to change speeds on my variable
> speed head.
>
> Jim
>
> On 8/10/2015 9:47 AM, Gene Heskett wrote:
> > Greetings;
> >
> > How often does LinuxCNC save the position.txt file?
> >
> > I note that if there are touchoffs in use, re-homeing the machine to
> > its homing switches does not clear the touch offs and this could be
> > the source of some useful data.
> >
> > However, I would like to automate its finding a brass jig dohicky on
> > the top of a hinged board that gets flipped up to serve as a
> > positioning guage fixture for the workpiece.  I damaged that
> > dohickey by using the wrong polarity of a gpio pin, so it didn't
> > stop on first contact, but on first contact break.  Duh.  Not
> > damaged beyond use however, I just need to recalibrate its offsets
> > from the workpiece.
> >
> > I want to make the first move, one that puts it within a mm in all 3
> > planes of the inside of this little brass gizmo, so that a set of
> > G38.2's can then set this dohicky's offsets into the G54 co-ord
> > system. That I can do easily enough, but after thats done I need to
> > run it up 50mm and stop, waiting for me to click on a continue
> > button popup so I am reminded to flip that part of the jig out of
> > the way.
> >
> > So the real question is, other than a pair of tool change pauses,
> > how can I achieve this stop & prompt to move the jig?
> >
> > Cheers, Gene Heskett
>
> ----------------------------------------------------------------------
>-------- _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users


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)
Genes Web page <http://geneslinuxbox.net:6309/gene>

------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to