Re: [Emc-users] pre-programmed keys or macros ?

2021-02-28 Thread andy pugh
On Sun, 28 Feb 2021 at 23:42, R C wrote: > I made those changes, but when starting linuxcnc I get this: > Error: no pyvcp element in file! > Do you want to use a keyboard shortcut, a VCP button or a physical button? All are possible, but the implementations are different. -- atp "A motorcycle

Re: [Emc-users] pre-programmed keys or macros ?

2021-02-28 Thread R C
I made those changes, but when starting linuxcnc I get this: Error: no pyvcp element in file! On 2/28/21 3:52 PM, Feral Engineer wrote: Happy to help, sir  On Sun, Feb 28, 2021, 5:47 PM R C wrote: That looks like exactly what it is that I want to do. (I probably have to play with the

Re: [Emc-users] pre-programmed keys or macros ?

2021-02-28 Thread andy pugh
On Sun, 28 Feb 2021 at 22:47, R C wrote: > (I probably have to play with the 'MDI_COMMAND a bit, since I want to > do that in 2 steps. First go to the x0, y0 position and after that to > the Z0, to prevent crashing into anything) Just make it call an O-word sub that does whatever sequence you

Re: [Emc-users] pre-programmed keys or macros ?

2021-02-28 Thread Feral Engineer
Happy to help, sir  On Sun, Feb 28, 2021, 5:47 PM R C wrote: > That looks like exactly what it is that I want to do. > > (I probably have to play with the 'MDI_COMMAND a bit, since I want to > do that in 2 steps. First go to the x0, y0 position and after that to > the Z0, to prevent crashing

Re: [Emc-users] pre-programmed keys or macros ?

2021-02-28 Thread R C
That looks like exactly what it is that I want to do. (I probably have to play with the 'MDI_COMMAND a bit,  since I want to do that in 2 steps. First go to the x0, y0 position and after that to the Z0, to prevent crashing into anything) thanks!! Ron On 2/28/21 3:27 PM, Feral Engineer

Re: [Emc-users] pre-programmed keys or macros ?

2021-02-28 Thread Feral Engineer
You can make a gladevcp or pyvcp button that activates a macro/mdi command. See if this is helpful http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Adding_Custom_MDI_Buttons On Sat, Feb 27, 2021, 7:33 PM R C wrote: > I think I figured it out partially: > > > G0 G54 X0 Y0 > > G0 G54 Z0 > > > takes me

Re: [Emc-users] pre-programmed keys or macros ?

2021-02-27 Thread andy pugh
On Sun, 28 Feb 2021 at 00:33, R C wrote: > How can I create a button, or a "key combination", that does that? https://forum.linuxcnc.org/38-general-linuxcnc-questions/38753-looking-for-syntax-for-axisrc-file-to-bind-a-key-to-run-o-code-ngc-file (You need to put the G-code in an O-word

Re: [Emc-users] pre-programmed keys or macros ?

2021-02-27 Thread Gene Heskett
On Saturday 27 February 2021 19:30:58 R C wrote: > I think I figured it out partially: > > > G0 G54 X0 Y0 > > G0 G54 Z0 > > > takes me 'safely' to where I touched off. > > > How can I create a button, or a "key combination", that does that? > > > Ron > > On 2/27/21 4:52 PM, R C wrote: > > Hello,

Re: [Emc-users] pre-programmed keys or macros ?

2021-02-27 Thread R C
I think I figured it out partially: G0 G54 X0 Y0 G0 G54 Z0 takes me 'safely' to where I touched off. How can I create a button, or a "key combination", that does that? Ron On 2/27/21 4:52 PM, R C wrote: Hello, is there a way, in axis, to pre-program a function key, or key

[Emc-users] pre-programmed keys or macros ?

2021-02-27 Thread R C
Hello, is there a way, in axis, to pre-program a function key, or key combination, that can be used to execute some g-code? Also,  is there a way to go back to the point/spot where you touched off at the end of a run?  (X, Y first, then Z axis) ? thanks, Ron