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.

I think that I found the problem. I believe that in 
linuxcnc/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.

Long prolog short questions.
Is pncconf running interpreted?
Is the python source available on the standard user install so that I can edit 
it and test the change or do I need to install the developer source and run 
make?

Thanks in advance,
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-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to