Re: [Emc-users] Tandem home switches on single axis

2021-02-28 Thread Feral Engineer
Thanks for the reply. here's my current setup: 7i76e input 4 -> X mechanical switch 7i76e input 30 -> X proximity sensor 7i76e input 5 -> Z mechanical switch 7i76e input 31 -> Z proximity sensor INI file set up for home_use_index = yes hal file additions: loadrt encoder addf

Re: [Emc-users] Tandem home switches on single axis

2021-02-28 Thread Gene Heskett
On Sunday 28 February 2021 23:21:12 Feral Engineer wrote: > Hello Hive mind, > > Question for the group. I have an emco pc turn 55. I've successfully > gotten everything working 100% on LCNC with the exception of one > thing, the x and z axis utilize a mechanical limit switch to latch > home

[Emc-users] Tandem home switches on single axis

2021-02-28 Thread Feral Engineer
Hello Hive mind, Question for the group. I have an emco pc turn 55. I've successfully gotten everything working 100% on LCNC with the exception of one thing, the x and z axis utilize a mechanical limit switch to latch home position, but then each axis has a pnp proximity sensor that triggers the

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