Re: [Emc-users] pushbuttons for "canned" G code?

2021-03-28 Thread John Dammeyer
> From: Jon Elson [mailto:el...@pico-systems.com] > > I have a question that is probably directed at you. A while back I > > converted a C command line program that creates a bore at an XY > location using IJ G-codes. I think you were the author of the C program but > I can't remember for

Re: [Emc-users] pushbuttons for "canned" G code?

2021-03-28 Thread Jon Elson
On 03/27/2021 10:00 PM, John Dammeyer wrote: Hi Jon, -Original Message- On 03/24/2021 10:18 PM, John Dammeyer wrote: However this page I think shows how you create the G code command as a MDI command. http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Adding_Custom_MDI_Buttons Thanks very

Re: [Emc-users] pushbuttons for "canned" G code?

2021-03-27 Thread John Dammeyer
Hi Jon, > -Original Message- > > On 03/24/2021 10:18 PM, John Dammeyer wrote: > > > > > > However this page I think shows how you create the G code command as a MDI > > command. > > http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Adding_Custom_MDI_Buttons > > > Thanks very much for the link!

Re: [Emc-users] pushbuttons for "canned" G code?

2021-03-27 Thread Jon Elson
On 03/24/2021 10:18 PM, John Dammeyer wrote: However this page I think shows how you create the G code command as a MDI command. http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Adding_Custom_MDI_Buttons Thanks very much for the link! I got it working with very little trouble. Push a button, it

Re: [Emc-users] pushbuttons for "canned" G code?

2021-03-25 Thread andy pugh
On Thu, 25 Mar 2021 at 03:05, Jon Elson wrote: > I already have a pyvcp on it. I'd like to add buttons > marked 1, 2, 3 and 4, and when the user clicks > one, the G-code is fed to the interpreter and run. You can do this, as mentioned, with PyVCP and MDI_COMMANDS (and note that an MDI_COMMAND

Re: [Emc-users] pushbuttons for "canned" G code?

2021-03-24 Thread Gene Heskett
On Wednesday 24 March 2021 23:02:16 Jon Elson wrote: > Hello, > > I have a gadget I put together for a project at work, beagle > bone and Machinekit. > It is a one-axis linear positioner. I only need to move to > the correct positions for > 4 samples. So, the G-code is something like : > > G1

Re: [Emc-users] pushbuttons for "canned" G code?

2021-03-24 Thread John Dammeyer
Hi Jon, > From: Jon Elson [mailto:el...@pico-systems.com] > Hello, > > I have a gadget I put together for a project at work, beagle > bone and Machinekit. > It is a one-axis linear positioner. I only need to move to > the correct positions for > 4 samples. So, the G-code is something like : >