Re: [Emc-users] Setting up two home switches on Y

2020-09-27 Thread Dave Matthews
I just stuck it in a new thread on the forum. I was surprised that .odt files are not allowed but .doc files are. Dave On Tue, Sep 15, 2020 at 6:00 PM andy pugh wrote: > > On Tue, 15 Sep 2020 at 20:29, Dave Matthews wrote: > > > I now have a nice .odt file that describes how to do the setup ed

Re: [Emc-users] Setting up two home switches on Y

2020-09-15 Thread andy pugh
On Tue, 15 Sep 2020 at 20:29, Dave Matthews wrote: > I now have a nice .odt file that describes how to do the setup edit by > edit and includes the before and after .ini and .hal files as an > example. Anyplace in particular that I should store it. Well, the WIki might work, other than the form

Re: [Emc-users] Setting up two home switches on Y

2020-09-15 Thread Dave Matthews
On Mon, Sep 14, 2020 at 7:50 PM andy pugh wrote: > > I think that the problem is that you have y2-step in the Joint3 > section, but in the area where you are connecting the parallel port > pins, both sets of step/dir outputs are netted to the ystep. So they > move at exactly the same speed and at

Re: [Emc-users] Setting up two home switches on Y

2020-09-15 Thread Dave Matthews
On Mon, Sep 14, 2020 at 7:50 PM andy pugh wrote: > > On Mon, 14 Sep 2020 at 21:52, Dave Matthews wrote: > > > Looking closer at the DRO on the screen I can see that the second Y > > axis is counting down looking for home but is not moving. > > > > I racked the gantry and tested to see if it would

Re: [Emc-users] Setting up two home switches on Y

2020-09-15 Thread andy pugh
On Tue, 15 Sep 2020 at 02:53, Frank Tkalcevic wrote: > And that is easy to test. When you start axis, you should be in Joint mode. > You can use the keyboard to jog each joint... Actually, joint-mode jogging should generally be disabled for tandem axes. -- atp "A motorcycle is a bicycle wit

Re: [Emc-users] Setting up two home switches on Y

2020-09-14 Thread Frank Tkalcevic
> I think that the problem is that you have y2-step in the Joint3 > section, but in the area where you are connecting the parallel port > pins, both sets of step/dir outputs are netted to the ystep. So they > move at exactly the same speed and at the same time. And that is easy to test. When you

Re: [Emc-users] Setting up two home switches on Y

2020-09-14 Thread andy pugh
On Mon, 14 Sep 2020 at 21:52, Dave Matthews wrote: > Looking closer at the DRO on the screen I can see that the second Y > axis is counting down looking for home but is not moving. > > I racked the gantry and tested to see if it would unrack. What I > found is that the new switch is ignored. I

Re: [Emc-users] Setting up two home switches on Y

2020-09-14 Thread Gene Heskett
sourceforge.net > > Subject: Re: [Emc-users] Setting up two home switches on Y > > > > On Monday 14 September 2020 17:16:36 andy pugh wrote: > >> On Mon, 14 Sep 2020 at 20:52, Gene Heskett > > > > wrote: > >>> One of the rules for the net

Re: [Emc-users] Setting up two home switches on Y

2020-09-14 Thread Peter C. Wallace
On Mon, 14 Sep 2020, Gene Heskett wrote: Date: Mon, 14 Sep 2020 17:40:36 -0400 From: Gene Heskett Reply-To: "Enhanced Machine Controller (EMC)" To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] Setting up two home switches on Y On Monday 14 September 2020 17:16:36

Re: [Emc-users] Setting up two home switches on Y

2020-09-14 Thread Gene Heskett
On Monday 14 September 2020 17:16:36 andy pugh wrote: > On Mon, 14 Sep 2020 at 20:52, Gene Heskett wrote: > > One of the rules for the net command is that only the first of that > > name in your hal file, is allowed to be an input. > > That's not true. They can be allocated in any order, but onl

Re: [Emc-users] Setting up two home switches on Y

2020-09-14 Thread Gene Heskett
On Monday 14 September 2020 17:16:36 andy pugh wrote: > On Mon, 14 Sep 2020 at 20:52, Gene Heskett wrote: > > One of the rules for the net command is that only the first of that > > name in your hal file, is allowed to be an input. > > That's not true. They can be allocated in any order, but onl

Re: [Emc-users] Setting up two home switches on Y

2020-09-14 Thread andy pugh
On Mon, 14 Sep 2020 at 20:52, Gene Heskett wrote: > > One of the rules for the net command is that only the first of that name > in your hal file, is allowed to be an input. That's not true. They can be allocated in any order, but only one pin in the net can be a "writer". All the others must be

Re: [Emc-users] Setting up two home switches on Y

2020-09-14 Thread Dave Matthews
On Mon, Sep 14, 2020 at 3:52 PM andy pugh wrote: > > On Mon, 14 Sep 2020 at 20:19, Dave Matthews wrote: > > > Almost there. There isn't a gantry.hal file on github that I can find > > to reference. > > https://github.com/LinuxCNC/linuxcnc/blob/master/lib/hallib/gantrysim.hal > Maybe? > > > Whe

Re: [Emc-users] Setting up two home switches on Y

2020-09-14 Thread Dave Matthews
On Mon, Sep 14, 2020 at 3:52 PM Gene Heskett wrote: > > On Monday 14 September 2020 15:16:04 Dave Matthews wrote: > > > On Fri, Sep 11, 2020 at 5:16 PM andy pugh wrote: > > One of the rules for the net command is that only the first of that name > in your hal file, is allowed to be an input. Re-

Re: [Emc-users] Setting up two home switches on Y

2020-09-14 Thread Gene Heskett
On Monday 14 September 2020 15:16:04 Dave Matthews wrote: > On Fri, Sep 11, 2020 at 5:16 PM andy pugh wrote: > > On Fri, 11 Sep 2020 at 21:18, Dave Matthews wrote: > > > The examples that I have found are for Mesa cards and seem to have > > > a lot of stuff in them that I don't have in my .ini a

Re: [Emc-users] Setting up two home switches on Y

2020-09-14 Thread andy pugh
On Mon, 14 Sep 2020 at 20:19, Dave Matthews wrote: > Almost there. There isn't a gantry.hal file on github that I can find > to reference. https://github.com/LinuxCNC/linuxcnc/blob/master/lib/hallib/gantrysim.hal Maybe? > When I start LinuxCNC I > get an exit because ypos-cmd, ypos-fb, ystep

Re: [Emc-users] Setting up two home switches on Y

2020-09-14 Thread Dave Matthews
On Fri, Sep 11, 2020 at 5:16 PM andy pugh wrote: > > On Fri, 11 Sep 2020 at 21:18, Dave Matthews wrote: > > > The examples that I have found are for Mesa cards and seem to have a > > lot of stuff in them that I don't have in my .ini and .hal files. > > Have you looked at the supplied sim-axis-gan

Re: [Emc-users] Setting up two home switches on Y

2020-09-11 Thread Todd Zuercher
-Original Message- From: Dave Matthews Sent: Friday, September 11, 2020 5:37 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] Setting up two home switches on Y [EXTERNAL EMAIL] Be sure links are safe. On Fri, Sep 11, 2020 at 5:16 PM andy pugh wrote: > > On Fri, 11 Sep 2

Re: [Emc-users] Setting up two home switches on Y

2020-09-11 Thread Dave Matthews
On Fri, Sep 11, 2020 at 5:16 PM andy pugh wrote: > > On Fri, 11 Sep 2020 at 21:18, Dave Matthews wrote: > > > The examples that I have found are for Mesa cards and seem to have a > > lot of stuff in them that I don't have in my .ini and .hal files. > > Have you looked at the supplied sim-axis-gan

Re: [Emc-users] Setting up two home switches on Y

2020-09-11 Thread andy pugh
On Fri, 11 Sep 2020 at 21:18, Dave Matthews wrote: > The examples that I have found are for Mesa cards and seem to have a > lot of stuff in them that I don't have in my .ini and .hal files. Have you looked at the supplied sim-axis-gantry config? > Any hints on where I can find the docs on editi

[Emc-users] Setting up two home switches on Y

2020-09-11 Thread Dave Matthews
I have a Gatton CNC for wood cutting that uses two Y axis steppers on the gantry. I currently have XYZ home switches and everything is happy. This is a parallel port setup. Currently I have two motors set as Y in Stepconf. I want to add another Y axis home switch to set up auto unracking of the