CAD CAM EDM DRO - Yahoo Group Archive

Re: Linux vs. DOS

Posted by Jon Elson
on 1999-06-06 23:46:32 UTC
Tim Goldstein wrote:

> From: "Tim Goldstein" <timg@...>
>
> I hooked up my home switches for the lathe and tried the function out. Over
> all it works just as Jon described. HOMING_POLARITY controls the direction
> the axis moves when you hit the home button and HOME_SWITCH_POLARITY takes
> care of whether you switches are NO or NC.
>
> I found that if you set the HOME_SWITCH_POLARITY wrong what happens is the
> program functions just like it does with no home switches attached. Click
> home and it zeros out the selected axis without any table movement.
>
> The one thing I am disappointed in the home function is that the position of
> the switch seems to always correspond to 0.00 for the axis. In looking real
> quickly I didn't see a way to indicate home as being a different position.

It really doesn't matter. this is the ABSOLUTE position. You generally
never work in absolute positions, except maybe when calibrating permanent
fixtures onto the machine. Normally, you work in relative coordinates, ie.
relative to some edge of the part. So, you put an edge finder in the spindle,
and jog the part over until it deflects the edge finder. let's say we're doing
the X axis, and the part is to the right of the spindle, and we have a .2"
diameter edge finder. So, when it deflects, we enter by MDI, G92 X0.1
This sets the relative coordinate offset such that the relative coordinate
system is aligned with the left edge of the part. (The X0.1 is to compensate
for the radius of the .2" end of the edge finder.)
You can now do this with the mouse (I think it's a right click over the axis
in question, and you get a little menu.)
There is also the G10 L2 Pn X1.23 Y4.56 command, which sets up
to 9 work coordinate offsets from the main relative coordinates. Very
handy if you have multiple parts mounted in a fixture.

> >From my limited home shop type experience this is a MAJOR pain for setting
> up a switch for the Y axis (X in lathe terms) of a lathe.

So, the only time you should see absolute coordinates is after powering
up, and before initializing anything. (You can use it later to check for
lost steps, by re-homing.) The relative offsets from the absolute home
position are stored on graceful shutdowns, so you could come back the
next day and power up, home and switch to the relative coords, and you'd
be right at the same place. (The G10 L2 work coord offsets are saved,
too.)

The # key (I think) switches the display between relative and absolute.
The @ key switches between commanded position and actual position.
I keep it in commanded because the flickering digits are distracting.

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