Re: [Emc-users] Need help configuring Home

2010-05-05 Thread Jon Elson
Neil Baylis wrote: Note: I tried monitoring the axis.0.home-sw-in with Halmeter, but it never changes. Also, when I use Halmeter to monitor the limit switch, that never changes either, even though it is changing on TkEMC. Something I don't understand about using Halmeter, I guess. In your

[Emc-users] Need help configuring Home

2010-05-04 Thread Neil Baylis
I'm trying to understand how to setup my homing config. I've been reading everything I can find in the docs, but still can't get this to work. I have a single axis, X There's a limit switch at each end. I want these switches to stop the machine if it ever hits them. I want to use the negative

Re: [Emc-users] Need help configuring Home

2010-05-04 Thread Andy Pugh
On 4 May 2010 17:31, Neil Baylis neil.bay...@gmail.com wrote: There's a limit switch at each end. I want these switches to stop the machine if it ever hits them. I want to use the negative limit switch as the home switch. When I press the home button in the GUI (TkEMC), I want the machine to

Re: [Emc-users] Need help configuring Home

2010-05-04 Thread Neil Baylis
On Tue, May 4, 2010 at 11:16 AM, Andy Pugh a...@andypugh.fsnet.co.uk wrote: On 4 May 2010 17:31, Neil Baylis neil.bay...@gmail.com wrote: There's a limit switch at each end. I want these switches to stop the machine if it ever hits them. I want to use the negative limit switch as the home

Re: [Emc-users] Need help configuring Home

2010-05-04 Thread Stephen Wille Padnos
Neil Baylis wrote: [snip] Here's the Homing section of my .ini file: HOME_SEARCH_VEL = -1.0 HOME_LATCH_VEL = 0.1 HOME_USE_INDEX = NO HOME_IGNORE_LIMITS = NO HOME_IS_SHARED = NO HOME_OFFSET = 0.0 HOME =

Re: [Emc-users] Need help configuring Home

2010-05-04 Thread Neil Baylis
Oh, I thought HOME_IS_SHARED meant the home was shared with another axis. I'll give that a try. Neil On Tue, May 4, 2010 at 12:03 PM, Stephen Wille Padnos spad...@sover.net wrote: Neil Baylis wrote: [snip] Here's the Homing section of my .ini file: HOME_SEARCH_VEL =       -1.0

Re: [Emc-users] Need help configuring Home

2010-05-04 Thread Stephen Wille Padnos
Neil Baylis wrote: Oh, I thought HOME_IS_SHARED meant the home was shared with another axis. Well, you could be right :) Always listen to the manual, or the actual behavior, better than you listen to me. - Steve

Re: [Emc-users] Need help configuring Home

2010-05-04 Thread Stuart Stevenson
Is it possible the state of the home switch is tripped and the machine is backing off the switch from the start? -- ___ Emc-users mailing list

Re: [Emc-users] Need help configuring Home

2010-05-04 Thread Neil Baylis
No, same problem. With HOME_IGNORE_LIMITS = YES, it sails right past the home/limit switch and hits the hard stop. With HOME_IGNORE_LIMITS = NO, it stops at the limit, complaining that it hit a limit in homing state 5. HOME_IS_SHARED seems to have no effect on this. Note: I tried monitoring

Re: [Emc-users] Need help configuring Home

2010-05-04 Thread Neil Baylis
No,I manually move it away from the switch before I start. Neil On Tue, May 4, 2010 at 12:27 PM, Stuart Stevenson stus...@gmail.com wrote: Is it possible the state of the home switch is tripped and the machine is backing off the switch from the start?

Re: [Emc-users] Need help configuring Home

2010-05-04 Thread Stephen Wille Padnos
Neil Baylis wrote: No, same problem. With HOME_IGNORE_LIMITS = YES, it sails right past the home/limit switch and hits the hard stop. With HOME_IGNORE_LIMITS = NO, it stops at the limit, complaining that it hit a limit in homing state 5. HOME_IS_SHARED seems to have no effect on this.

Re: [Emc-users] Need help configuring Home

2010-05-04 Thread Neil Baylis
Thanks Steve. I made 3 halmeters as you suggested. They all register FALSE, even when the GUI is showing the position in red when I hit the limit. Just to make sure halmeter is working, I added another halmeter on axis.0.motor-pos-fb and it showed the same position as the GUI does, updating

Re: [Emc-users] Need help configuring Home

2010-05-04 Thread Stephen Wille Padnos
Neil Baylis wrote: Thanks Steve. I made 3 halmeters as you suggested. They all register FALSE, even when the GUI is showing the position in red when I hit the limit. That's mighty odd, and more or less impossible if the HAL setup is as we think it is. Can you add another halmeter on

Re: [Emc-users] Need help configuring Home

2010-05-04 Thread Stuart Stevenson
is your debounce connected to a thread? On Tue, May 4, 2010 at 3:03 PM, Neil Baylis neil.bay...@gmail.com wrote: Thanks Steve. I made 3 halmeters as you suggested. They all register FALSE, even when the GUI is showing the position in red when I hit the limit. Just to make sure halmeter is

Re: [Emc-users] Need help configuring Home

2010-05-04 Thread John Kasunich
On Tue, 04 May 2010 16:13 -0400, Stephen Wille Padnos spad...@sover.net wrote: Neil Baylis wrote: Thanks Steve. I made 3 halmeters as you suggested. They all register FALSE, even when the GUI is showing the position in red when I hit the limit. That's mighty odd, and more or

Re: [Emc-users] Need help configuring Home

2010-05-04 Thread Neil Baylis
OK, I've posted what I think is relevant. If there's a file missing, let me know. I posted the output of halcmd show twice, once with the machine off the limit switch, and again with it on the limit switch. I omitted the .tbl and .var files. These files are edited versions of originals from the

Re: [Emc-users] Need help configuring Home

2010-05-04 Thread Stephen Wille Padnos
Neil Baylis wrote: OK, I've posted what I think is relevant. If there's a file missing, let me know. I posted the output of halcmd show twice, once with the machine off the limit switch, and again with it on the limit switch. I omitted the .tbl and .var files. These files are edited

Re: [Emc-users] Need help configuring Home

2010-05-04 Thread Andy Pugh
On 4 May 2010 21:03, Neil Baylis neil.bay...@gmail.com wrote: I made 3 halmeters as you suggested. Halscope might show if there is a wierd transient effect. They all register FALSE, even when the GUI is showing the position in red when I hit the limit. Are you sure that you have the limits

Re: [Emc-users] Need help configuring Home

2010-05-04 Thread Neil Baylis
Indeed, that was the problem. Now, the halmeters show the limit switch as expected, as well as the home signal. The homing sequence works correctly. (I changed HOME_IGNORE_LIMITS to YES, and it does the expected thing). Thanks everyone for your help and suggestions. Neil