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

2021-03-03 Thread Gene Heskett
On Wednesday 03 March 2021 03:49:51 andy pugh wrote: > On Wed, 3 Mar 2021 at 03:03, Gene Heskett wrote: > > 'PROGRAM_EXTENSION = .gcode 3D Printer > > > > Without a second quote. > > That does seem spurious. > > They all have it, but the problem is a missing closing quote. >

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

2021-03-03 Thread andy pugh
On Wed, 3 Mar 2021 at 03:03, Gene Heskett wrote: > 'PROGRAM_EXTENSION = .gcode 3D Printer > > Without a second quote. That does seem spurious. They all have it, but the problem is a missing closing quote. https://github.com/LinuxCNC/linuxcnc/blob/master/docs/src/config/ini-config.txt#L482 >

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

2021-03-02 Thread Gene Heskett
On Tuesday 02 March 2021 03:59:49 andy pugh wrote: > On Mon, 1 Mar 2021 at 04:24, Feral Engineer wrote: > > z axis utilize a mechanical limit switch to latch home position, but > > then each axis has a pnp proximity sensor that triggers the actual > > home position > > Are both the switch and

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

2021-03-02 Thread Gene Heskett
On Tuesday 02 March 2021 03:59:49 andy pugh wrote: > On Mon, 1 Mar 2021 at 04:24, Feral Engineer wrote: > > z axis utilize a mechanical limit switch to latch home position, but > > then each axis has a pnp proximity sensor that triggers the actual > > home position > > Are both the switch and

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

2021-03-02 Thread Gene Heskett
On Tuesday 02 March 2021 03:51:26 andy pugh wrote: > On Tue, 2 Mar 2021 at 07:36, Gene Heskett wrote: > > The problem with homing the bs-1 is that the home switch is > > activated by a notch in the hub of its spindle > > It's probably best to home a rotary axis to a 180 degree target. With >

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

2021-03-02 Thread andy pugh
On Mon, 1 Mar 2021 at 04:24, Feral Engineer wrote: > z axis utilize a mechanical limit switch to latch home position, but then > each axis has a pnp proximity sensor that triggers the actual home position Are both the switch and the PNP on at the same time? Is the PNP "long" enough to serve as

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

2021-03-02 Thread andy pugh
On Tue, 2 Mar 2021 at 07:36, Gene Heskett wrote: > The problem with homing the bs-1 is that the home switch is activated by > a notch in the hub of its spindle It's probably best to home a rotary axis to a 180 degree target. With search and backoff speeds set high, and a slow latch. Then it

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

2021-03-01 Thread Gene Heskett
On Monday 01 March 2021 14:11:00 Jon Elson wrote: > On 03/01/2021 11:02 AM, Feral Engineer wrote: > > Hi Jon > > > > No encoders. Besides the 7i76e and raspberry pi, the machine is > > using the original steppers and electronics. > > OK, without encoders, then you are limited by the servo >

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

2021-03-01 Thread Feral Engineer
I'll take a look. Sounds like this might be very helpful. Thanks a bunch! Phil T. The Feral Engineer Check out my LinuxCNC tutorials, machine builds and other antics at www.youtube.com/c/theferalengineer On Mon, Mar 1, 2021, 2:59 PM Marius Alksnys wrote: > I think I solved that problem in

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

2021-03-01 Thread Marius Alksnys
I think I solved that problem in Emcoturn 220 integration and went even further. I added a protection of lost steps with the sensor. Here is my config: https://drive.google.com/drive/folders/1tjU-i8v7iAPqDlRHX5l45pFpincPqneS?usp=sharing Hope this helps. On 2021-03-01 06:21, Feral Engineer

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

2021-03-01 Thread Feral Engineer
Hi Jon I have it feeding back slowly to latch the proximity switch, but it's picking up from an encoder pulse that it found 6 inches away from the home position unless I move the machine close to the switch, close Linuxcnc, reload LinuxCNC and command a zero return from there. I disconnected the

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

2021-03-01 Thread Jon Elson
On 03/01/2021 11:02 AM, Feral Engineer wrote: Hi Jon No encoders. Besides the 7i76e and raspberry pi, the machine is using the original steppers and electronics. OK, without encoders, then you are limited by the servo period. So, figure some way to tie the sensor in with the mechanical

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

2021-03-01 Thread Feral Engineer
Hi Jon No encoders. Besides the 7i76e and raspberry pi, the machine is using the original steppers and electronics. Emco used a double switch home sequence on this machine - mechanical "rough" home and proximity "fine" home. I got this to work last night, but it's not working properly. It seems

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

2021-03-01 Thread Jon Elson
On 02/28/2021 10:21 PM, 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 position, but then each

[Emc-users] Tandem home switches on single axis

2021-03-01 Thread Roland Jollivet
Lucky the proxy is PNP Wire the proxy in series with the switch - the proxy will pull the line UP - the proxy Only has power when the switch is closed - so the home position is only valid if the switch is closed AND the proxy is active AND the proxy is interrupted. Then the line will get pulled

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