I think that I found the problem. I believe that in inuxcnc
<https://github.com/LinuxCNC/linuxcnc/tree/6edc3be1b1d7dd32c68cd2cc2b9cef7a4ecfbf4c>/src
<https://github.com/LinuxCNC/linuxcnc/tree/6edc3be1b1d7dd32c68cd2cc2b9cef7a4ecfbf4c/src>/emc
<https://github.com/LinuxCNC/linuxcnc/tree/6edc3be1b1d7dd32c68cd2cc2b9cef7a4ecfbf4c/src/emc>/usr_intf
<https://github.com/LinuxCNC/linuxcnc/tree/6edc3be1b1d7dd32c68cd2cc2b9cef7a4ecfbf4c/src/emc/usr_intf>/pncconf
<https://github.com/LinuxCNC/linuxcnc/tree/6edc3be1b1d7dd32c68cd2cc2b9cef7a4ecfbf4c/src/emc/usr_intf/pncconf>/private_data.py
the following:
home_limits_shared = [ _("All Limits + Home"),_("X Minimum Limit + Home"), _("Y
Minimum Limit + Home"), _("Z Minimum Limit + Home"),
_("A Minimum Limit + Home"),_("X Maximum Limit + Home"), _("Y Maximum Limit +
Home"), _("Z Maximum Limit + Home"),
_("A Maximum Limit + Home"),_("X Both Limit + Home"), _("Y Both Limit + Home"),
_("Z Both Limit + Home"),
_("A Both Limit + Home") ]
should be changed to
home_limits_shared = [ _("X Minimum Limit + Home"), _("Y Minimum Limit +
Home"), _("Z Minimum Limit + Home"),
_("A Minimum Limit + Home"),_("X Maximum Limit + Home"), _("Y Maximum Limit +
Home"), _("Z Maximum Limit + Home"),
_("A Maximum Limit + Home"),_("X Both Limit + Home"), _("Y Both Limit + Home"),
_("Z Both Limit + Home"),
_("A Both Limit + Home”), _("All Limits + Home") ]
I tried setting X minimum + home, and Z minimum + home and got y minimum + home
and a minimum + home. The other data structures all have “All Limits” at the
end of their respective arrays while “home_limits_shared” has it at the front
of the array.
I am not a python programmer so I am not positive that this is the fix.
Alan
> From: Condit Alan <[email protected]>
> Subject: Re: [Emc-users] pncconf problem
> Date: February 7, 2016 at 1:54:52 PM PST
> To: emc-users <[email protected]>
> Reply-To: "Enhanced Machine Controller \(EMC\)"
> <[email protected]>
>
>
> I forgot to say I am running linuxCNC version 2.7.3.
>
> I am trying to set up a config to use a 7i43 board with pncconf. I tried to
> set up two home and limit switches (both-home-x) and (both-home-z). However,
> when I look at the hal file
> I get (both-home-y) and (both-home-a).
>
> From Hal file:
> # external input signals
>
> # --- BOTH-HOME-Y ---
> net both-home-y <= hm2_7i43.0.gpio.026.in
>
> # --- BOTH-HOME-A ---
> net both-home-a <= hm2_7i43.0.gpio.027.in
>
> When I try to re-edit the file in pncconf it shows (both-home-x) and
> (both-home-z). I know I can fix it be hand editing but I don’t know what else
> may be going wrong that is not so obvious.
>
> I also tried setting up X, Y and Z and got Y, Z, and A.
>
> Thanks,
> Alan
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users