Re: Linux vs. DOS
Posted by
Jon Elson
on 1999-06-06 17:16:33 UTC
Dan Falck wrote:
this with Fred (or maybe Matt) some time ago, and think I understand it.
The home switch must be set so it closes when the machine is between
the limit switches. It makes sense to put the home switch near one of the
limits, for the following reason. In the .ini file, you define which way each
axis is to move to go home. So, you put the machine in a position on
the 'right' side of the home switch manually, then hit the home button while
that axis is highlighted (selected) on the screen. The machine moves in
the direction specified in the .ini file until the home switch closes. It then
advances slowly until the encoder index pulse is seen. The position
marked by both the home switch being closed and the next index pulse
is 'Home' for that axis. This puts it very close to the same place every
time, probably within one or two encoder counts.
Jon
> From: Dan Falck <dfalck@...>I don't have my home or limit switches hooked up, either. But, I went through
>
> Skimming through the documentation, I couldn't find this- how do you use
> the home switches in the code? Maxnc uses a G61 switch sense command and
> commercial CNCs use different proceedures.
> What do you do to home the machine? My switches aren't hooked up yet, but I
> would like to know before long.
this with Fred (or maybe Matt) some time ago, and think I understand it.
The home switch must be set so it closes when the machine is between
the limit switches. It makes sense to put the home switch near one of the
limits, for the following reason. In the .ini file, you define which way each
axis is to move to go home. So, you put the machine in a position on
the 'right' side of the home switch manually, then hit the home button while
that axis is highlighted (selected) on the screen. The machine moves in
the direction specified in the .ini file until the home switch closes. It then
advances slowly until the encoder index pulse is seen. The position
marked by both the home switch being closed and the next index pulse
is 'Home' for that axis. This puts it very close to the same place every
time, probably within one or two encoder counts.
Jon
Discussion Thread
Andrew Werby
1999-05-29 04:16:11 UTC
Linux vs. DOS
john@x...
1999-05-29 15:07:09 UTC
Re: Linux vs. DOS
Jon Elson
1999-05-29 21:21:47 UTC
Re: Linux vs. DOS
Matt Shaver
1999-05-29 21:29:06 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-05-29 22:27:47 UTC
Re: Linux vs. DOS
Matt Shaver
1999-05-30 00:12:13 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-05-30 15:39:08 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-05-30 20:37:55 UTC
Re: Linux vs. DOS
Matt Shaver
1999-05-30 20:35:33 UTC
Re: Linux vs. DOS
Matt Shaver
1999-05-30 20:48:44 UTC
Re: Linux vs. DOS
Jon Elson
1999-05-30 23:19:07 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-05-31 11:54:03 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-05-31 11:54:07 UTC
Re: Linux vs. DOS
Matt Shaver
1999-05-31 12:12:57 UTC
Re: Linux vs. DOS
Matt Shaver
1999-05-31 12:17:39 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-05-31 13:30:23 UTC
Re: Linux vs. DOS
Matt Shaver
1999-05-31 14:13:26 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-05-31 16:00:38 UTC
Re: Linux vs. DOS
Matt Shaver
1999-05-31 16:00:51 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-05-31 17:32:03 UTC
Re: Linux vs. DOS
Matt Shaver
1999-05-31 17:33:17 UTC
Re: Linux vs. DOS
Matt Shaver
1999-05-31 17:43:39 UTC
Re: Linux vs. DOS
Dan Falck
1999-05-31 19:55:12 UTC
Re: Linux vs. DOS
Matt Shaver
1999-05-31 22:48:46 UTC
Re: Linux vs. DOS
Jon Elson
1999-05-31 22:58:57 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-05-31 23:32:27 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-05-31 23:32:29 UTC
Re: Linux vs. DOS
Matt Shaver
1999-05-31 23:32:50 UTC
Re: Linux vs. DOS
Matt Shaver
1999-06-01 00:38:11 UTC
Re: Linux vs. DOS
Dan Mauch
1999-06-01 06:32:41 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-06-01 09:45:52 UTC
Re: Linux vs. DOS
Jon Elson
1999-06-01 12:16:50 UTC
Re: Linux vs. DOS
Ian W. Wright
1999-06-01 12:37:43 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-06-01 17:03:26 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-06-01 22:05:54 UTC
Re: Linux vs. DOS
Dan Mauch
1999-06-02 06:30:25 UTC
Re: Linux vs. DOS
Dan Mauch
1999-06-02 06:42:14 UTC
Re: Linux vs. DOS
Buchanan, James (Jim)
1999-06-02 13:01:09 UTC
Re: Linux vs. DOS
Jon Elson
1999-06-02 13:33:07 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-06-02 14:26:20 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-06-02 14:45:01 UTC
Re: Linux vs. DOS
Matt Shaver
1999-06-02 15:01:17 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-06-02 23:19:44 UTC
Re: Linux vs. DOS
Matt Shaver
1999-06-03 00:26:35 UTC
Re: Linux vs. DOS
Ian W. Wright
1999-06-04 13:47:19 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-06-05 16:54:15 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-06-05 17:34:22 UTC
Re: Linux vs. DOS
Jon Elson
1999-06-05 23:39:08 UTC
Re: Linux vs. DOS
Jon Elson
1999-06-05 23:41:51 UTC
Re: Linux vs. DOS
Matt Shaver
1999-06-05 23:42:39 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-06-06 00:03:27 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-06-06 00:30:52 UTC
Re: Linux vs. DOS
Matt Shaver
1999-06-06 01:00:46 UTC
Re: Linux vs. DOS
Matt Shaver
1999-06-06 01:37:57 UTC
Re: Linux vs. DOS
Dan Falck
1999-06-06 05:51:38 UTC
Re: Linux vs. DOS
Jon Elson
1999-06-06 17:16:33 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-06-06 21:05:20 UTC
Re: Linux vs. DOS
Matt Shaver
1999-06-06 22:06:24 UTC
Re: Linux vs. DOS
Matt Shaver
1999-06-06 22:30:17 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-06-06 22:57:18 UTC
Re: Linux vs. DOS
Matt Shaver
1999-06-06 23:16:03 UTC
Re: Linux vs. DOS
Jon Elson
1999-06-06 23:29:41 UTC
Re: Linux vs. DOS
Jon Elson
1999-06-06 23:46:32 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-06-07 21:59:53 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-06-08 22:07:54 UTC
Re: Linux vs. DOS
Dan Mauch
1999-06-09 06:18:23 UTC
Re: Linux vs. DOS