On 3 September 2015 at 05:34, john mcintyre <johnan...@live.com.au> wrote:

> The Mazak M3 lathe bed  has six equally spaced limit switches,  which are 
> individually
> connected to a six pole rotary switch this allows,  only one limit switch to 
> be active.

That should work fine with LinuxCNC as-is, but I don't think that
there is an easy way to change the homing direction on-the-fly.
Ideally each switch would define a different HOME_OFFSET so that each
switch homed to the same absolute home, and I don't think that is
trivial either.

It _might_ be possible to make a HAL component that sends an NML
message to change the home offset when the switch is moved:
http://linuxcnc.org/docs/html/code/NML_Messages.html#_emc_axis_set_home_offset_type


-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to