Re: [Emc-users] Moving past Home Switch

2016-10-26 Thread andy pugh
On 26 October 2016 at 23:54, Gene Heskett  wrote:

>> LinuxCNC knows how to back off the switch if it is already on it.
>
> If you have individual inputs from each switch.  But when shared, it
> hasn't a clue which axis is "on".

Yes, some things are just inherently  impossible.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Moving past Home Switch

2016-10-26 Thread Gene Heskett
On Wednesday 26 October 2016 14:31:22 andy pugh wrote:

> On 26 October 2016 at 19:04, Jon Elson  wrote:
> > Yes, this is why having the home switch much closer to the
> > limit is best.
>
> Near the middle might be best, but it needs to be off for half the
> travel and on for half the travel.
> LinuxCNC knows how to back off the switch if it is already on it.

If you have individual inputs from each switch.  But when shared, it 
hasn't a clue which axis is "on".

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Moving past Home Switch

2016-10-26 Thread Stuart Stevenson
Gentlemen,
Put the home switch wherever you want it OR wherever is convenient.

You can use the +-sign in the ini file to determine which direction to seek
and search for the home switch and index.
You can then offset the home position to wherever you want it AND
you can put +- in the axis limits to make sure you do not exceed the axis
travels.

There is no magic one way to do it. That is the magic of LinuxCNC.
thanks
Stuart




On Wed, Oct 26, 2016 at 1:31 PM, andy pugh  wrote:

> On 26 October 2016 at 19:04, Jon Elson  wrote:
> > Yes, this is why having the home switch much closer to the
> > limit is best.
>
> Near the middle might be best, but it needs to be off for half the
> travel and on for half the travel.
> LinuxCNC knows how to back off the switch if it is already on it.
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1916
>
> 
> --
> The Command Line: Reinvented for Modern Developers
> Did the resurgence of CLI tooling catch you by surprise?
> Reconnect with the command line and become more productive.
> Learn the new .NET and ASP.NET CLI. Get your free copy!
> http://sdm.link/telerik
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 
Addressee is the intended audience.
If you are not the addressee then my consent is not given for you to read
this email furthermore it is my wish you would close this without saving or
reading, and cease and desist from saving or opening my private
correspondence.
Thank you for honoring my wish.
--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Moving past Home Switch

2016-10-26 Thread Kirk Wallace
On 10/26/2016 11:31 AM, andy pugh wrote:
> On 26 October 2016 at 19:04, Jon Elson  wrote:
>> Yes, this is why having the home switch much closer to the
>> limit is best.
>
> Near the middle might be best, but it needs to be off for half the
> travel and on for half the travel.
> LinuxCNC knows how to back off the switch if it is already on it.
>

I don't recall my lathe being set up that way. I have a magnetic 
proximity sensor and the axis encoder index hooked up. I recall homing 
moves until the prox trips then backs off, slowly moves toward the prox 
and stops at the the trigger of the prox and index. The prox trigger is 
only three or four mm wide. That's how I understand it, but I could be 
wrong. I probably should check.

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/

--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Moving past Home Switch

2016-10-26 Thread andy pugh
On 26 October 2016 at 19:04, Jon Elson  wrote:
> Yes, this is why having the home switch much closer to the
> limit is best.

Near the middle might be best, but it needs to be off for half the
travel and on for half the travel.
LinuxCNC knows how to back off the switch if it is already on it.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Moving past Home Switch

2016-10-26 Thread Jon Elson
On 10/26/2016 07:11 AM, andy pugh wrote:
> On 26 October 2016 at 03:19, Jon Elson  wrote:
>> Assuming your home switch is 1 inch from the top (max limit)
>> and 4 inches from the bottom (min limit),
>> and that the HOME_OFFSET is 0, then you should set the soft
>> limits like this :
>> MIN_LIMIT = -4.0
>> MAX_LIMIT = 1.0
> Just one caveat with a system like this: You need to make sure that
> the home switch is "true" for the entire range from 0 to +1. Otherwise
> a homing command when above the switch will go up away from the
> switch, not down towards it.
>
Yes, this is why having the home switch much closer to the 
limit is best.

Jon

--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Moving past Home Switch

2016-10-26 Thread Gene Heskett
On Wednesday 26 October 2016 08:11:18 andy pugh wrote:

> On 26 October 2016 at 03:19, Jon Elson  wrote:
> > Assuming your home switch is 1 inch from the top (max limit)
> > and 4 inches from the bottom (min limit),
> > and that the HOME_OFFSET is 0, then you should set the soft
> > limits like this :
> > MIN_LIMIT = -4.0
> > MAX_LIMIT = 1.0
>
> Just one caveat with a system like this: You need to make sure that
> the home switch is "true" for the entire range from 0 to +1. Otherwise
> a homing command when above the switch will go up away from the
> switch, not down towards it.

Or, in my case, if its a tad above the switch trip, which itself is less 
than half a turn of the screw from the mechanical limit, it can't 
overpass the switch, but since the switch will be closed, it will refuse 
the home all until it has been run back down the post far enough to get 
off the switch.

I did have the potential for that problem on TLM but my most recent 
rework, putting the tapered gibs on it, has now put TLM in the same 
state as the G0704, in that it cannot move past the switch to clear it 
now. So that also refuses to do a home all until its manually (keyboard 
right arrow) moved clear of the switch.

Problem solved. The small mill has 2 switches, but they are basicly 
e-stoppers, to keep it from running the nut off the end of the screw. I 
tried to use them as home switches too, but couldn't cobble up enough 
hal quickly so I removed that.  So the best I can do on it, is run it to 
the limit trip, enable the backoff, backoff some fixed amount, and 
manually home that axis. That fixed backoff however cannot be done 
without doing all the homes manually at arbitrary positions because it 
cannot do an mdi move until its homed.

Question re small mill switches:
If I was to nuke the switches use as limits, and make them home switches 
(shared), then set the software limits say 100 thou off the switches, 
can it, if I need to rehome it, ignore the software limits so it can 
find the switches, which might be beyond the sw limits? 

OTOH, in that scenario, the switches do act a bit early, unavoidable from 
the way they are mounted, and I could gain a much needed extra 0.15" of 
movement and still not be letting balls fall out of the nuts.

Ignore the noise, its just me, exercising a rusty old brain by actually 
thinking. but it needs at least 1 more cup of caffeine yet. :)

And I can't remember if the table hits the post, or the safety limit 
switch on the Y axis first, ISTR it hits the post first.  So I'd have to 
mount another switch to trigger on the post for that to work.  That is 
two switches to be added because there is no switch on the Z either. A 
project for next spring maybe?  Keeps me out of the bars don't cha know.

Thanks guys.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Moving past Home Switch

2016-10-26 Thread andy pugh
On 26 October 2016 at 03:19, Jon Elson  wrote:
> Assuming your home switch is 1 inch from the top (max limit)
> and 4 inches from the bottom (min limit),
> and that the HOME_OFFSET is 0, then you should set the soft
> limits like this :
> MIN_LIMIT = -4.0
> MAX_LIMIT = 1.0

Just one caveat with a system like this: You need to make sure that
the home switch is "true" for the entire range from 0 to +1. Otherwise
a homing command when above the switch will go up away from the
switch, not down towards it.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Moving past Home Switch

2016-10-26 Thread andy pugh
On 26 October 2016 at 01:13, Danny Miller  wrote:
> 2.  You can set axis limits at anything.  I probably would never set a
> negative coord as a limit but maybe that's just me

Actually, this is almost normal for the Z axis. In fact my CAM package
assumes that G53 Z0 is "tool all the way up"
My Z axis runs from 0 at the top to -320 at the bottom.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Moving past Home Switch

2016-10-25 Thread Jon Elson
On 10/25/2016 06:04 PM, hubert wrote:
> Is there any way to move past home position.
>
> Each of my Axis, X, Y, and Z use three sensors to provide inputs for min
> and max limits and Homing.  We have the Home switch set about 1 inch
> inside the max limit switch.  However, We need to raise the Z axis above
> the home switch but inside the limit switch for the head to clear the
> tool changer.   Also for some parts we need to make use of more of the
> table than the Home switch allows.  Is this a miss-configuration problem
> or a deficiency? When we try to move past the home switch the machine
> refuses to move.
>
>
Assuming your home switch is 1 inch from the top (max limit) 
and 4 inches from the bottom (min limit),
and that the HOME_OFFSET is 0, then you should set the soft 
limits like this :
MIN_LIMIT = -4.0
MAX_LIMIT = 1.0

This will give a total range of 5.0 inches, with 1 inch 
above the home switch.
(If you use mm, adapt accordingly, the scheme is the same.)

Jon

--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Moving past Home Switch

2016-10-25 Thread Stuart Stevenson
If you would include a link to your ini file it would be much easier to
diagnose and answer.

On Oct 25, 2016 6:11 PM, "hubert"  wrote:

> Is there any way to move past home position.
>
> Each of my Axis, X, Y, and Z use three sensors to provide inputs for min
> and max limits and Homing.  We have the Home switch set about 1 inch
> inside the max limit switch.  However, We need to raise the Z axis above
> the home switch but inside the limit switch for the head to clear the
> tool changer.   Also for some parts we need to make use of more of the
> table than the Home switch allows.  Is this a miss-configuration problem
> or a deficiency? When we try to move past the home switch the machine
> refuses to move.
>
> Hubert
>
>
> 
> --
> The Command Line: Reinvented for Modern Developers
> Did the resurgence of CLI tooling catch you by surprise?
> Reconnect with the command line and become more productive.
> Learn the new .NET and ASP.NET CLI. Get your free copy!
> http://sdm.link/telerik
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Moving past Home Switch

2016-10-25 Thread Danny Miller
There are multiple parameters:

1.  You can declare the homing switch to be a coordinate other than 0.  
e.g. "after we settle on the switch, this axis is offset so this is now 
+1.25 inches"

2.  You can set axis limits at anything.  I probably would never set a 
negative coord as a limit but maybe that's just me.

3.  You can send the axis anywhere after homing.   e.g. "settle on the 
homing switch, call that +1.25", then move to 0.5" and leave it there."

Danny


On 10/25/2016 7:07 PM, Mark Johnsen wrote:
> Just guessing, but you might have software limits set to 0.  That'd be a
> configuration issue, I'd guess the .ini file or the main *.hal file would
> have those in it.
>
> You should be able to travel past the home switch.  On a side note, I have
> no home switches and will 'manually' home in Axis by clicking the home
> button, but I'm not sure it does any good and in my config, I ahve it setup
> w/ no homes as well as only 1 limit switch for each ends of an axis.  I do
> have software limits set and they're set w/ the idea that I'll home
> somewhere near the middle of my axes.  (except for z).  Anyway, look at
> that.
> Mark
>
> On Tue, Oct 25, 2016 at 4:04 PM, hubert  wrote:
>
>> Is there any way to move past home position.
>>
>> Each of my Axis, X, Y, and Z use three sensors to provide inputs for min
>> and max limits and Homing.  We have the Home switch set about 1 inch
>> inside the max limit switch.  However, We need to raise the Z axis above
>> the home switch but inside the limit switch for the head to clear the
>> tool changer.   Also for some parts we need to make use of more of the
>> table than the Home switch allows.  Is this a miss-configuration problem
>> or a deficiency? When we try to move past the home switch the machine
>> refuses to move.
>>
>> Hubert
>>
> --
> The Command Line: Reinvented for Modern Developers
> Did the resurgence of CLI tooling catch you by surprise?
> Reconnect with the command line and become more productive.
> Learn the new .NET and ASP.NET CLI. Get your free copy!
> http://sdm.link/telerik
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>


--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Moving past Home Switch

2016-10-25 Thread Mark Johnsen
Just guessing, but you might have software limits set to 0.  That'd be a
configuration issue, I'd guess the .ini file or the main *.hal file would
have those in it.

You should be able to travel past the home switch.  On a side note, I have
no home switches and will 'manually' home in Axis by clicking the home
button, but I'm not sure it does any good and in my config, I ahve it setup
w/ no homes as well as only 1 limit switch for each ends of an axis.  I do
have software limits set and they're set w/ the idea that I'll home
somewhere near the middle of my axes.  (except for z).  Anyway, look at
that.
Mark

On Tue, Oct 25, 2016 at 4:04 PM, hubert  wrote:

> Is there any way to move past home position.
>
> Each of my Axis, X, Y, and Z use three sensors to provide inputs for min
> and max limits and Homing.  We have the Home switch set about 1 inch
> inside the max limit switch.  However, We need to raise the Z axis above
> the home switch but inside the limit switch for the head to clear the
> tool changer.   Also for some parts we need to make use of more of the
> table than the Home switch allows.  Is this a miss-configuration problem
> or a deficiency? When we try to move past the home switch the machine
> refuses to move.
>
> Hubert
>
--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Moving past Home Switch

2016-10-25 Thread hubert
Is there any way to move past home position.

Each of my Axis, X, Y, and Z use three sensors to provide inputs for min 
and max limits and Homing.  We have the Home switch set about 1 inch 
inside the max limit switch.  However, We need to raise the Z axis above 
the home switch but inside the limit switch for the head to clear the 
tool changer.   Also for some parts we need to make use of more of the 
table than the Home switch allows.  Is this a miss-configuration problem 
or a deficiency? When we try to move past the home switch the machine 
refuses to move.

Hubert


--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users