- Posts: 310
- Thank you received: 0
Where are Mesa 7i76e physical pins configured?
net max-x => axis.0.pos-lim-sw-in
Where is `axis.0.pos-lim-sw-in` defined?
When I tried to do this:
net max-x <= hm2_7i76e.0.7i76.0.0.input-05
net max-x => axis.0.pos-lim-sw-in
LinuxCNC complains that `axis.0.pos-lim-sw-in ` is already defined. That implies to me that `axis.0.pos-lim-sw-in` and `hm2_7i76e.0.7i76.0.0.input-05` are synonyms for the same pin, but where is that defined?
Sorry for the basic question, still figuring this out.
Please Log in to join the conversation.
For example:
axis.0.pos-lim-sw-in
is a pin created by LinuxCNCs motion component
(man motion for a list of all of motions pins)
and
hm2_7i76e.0.7i76.0.0.input-05
is a pin created by the hostmot2 hardware driver component
pncconf does create signals ( with the net command ) that link pins from
component to component. ( the created signal is "max-x" in your example )
In fact one of the main purposes of the hal file is to create these connections
Please Log in to join the conversation.
linuxcnc.org/docs/2.7/html/hal/basic-hal.html#_net
In your ini file in the [HAL] section you can see what hal files are being loaded and in what order. The axis.0.pos-lim-sw-in is a signal so you can't assign a signal to a pin.
Assuming your using the 2.7 version of LinuxCNC the pin names for limit switches are axis.N.neg−lim−sw−in and axis.N.pos−lim−sw−in where N is the axis number. The motion pin names are here...
linuxcnc.org/docs/2.7/html/man/man9/motion.9.html
It might be easier to use my 7i76e configuration tool as it is just for that card only.
jethornton.github.io/7i76e/
JT
Please Log in to join the conversation.
JetForMe wrote: I found the wonderful connection guide that shows the pin names like `hm2_7i76e.0.7i76.0.0.input-05`, but I can't figure out where in the `.hal` file I'd put a line including that to configure it as a limit switch. The pin names generated by PnCConf seem to be higher-level than that:
net max-x => axis.0.pos-lim-sw-in
Where is `axis.0.pos-lim-sw-in` defined?
When I tried to do this:
net max-x <= hm2_7i76e.0.7i76.0.0.input-05
net max-x => axis.0.pos-lim-sw-in
LinuxCNC complains that `axis.0.pos-lim-sw-in ` is already defined. That implies to me that `axis.0.pos-lim-sw-in` and `hm2_7i76e.0.7i76.0.0.input-05` are synonyms for the same pin, but where is that defined?
Sorry for the basic question, still figuring this out.
This is one of mine, but this is on 2.8
net x-home-sw => joint.0.home-sw-in
net x-home-sw => hm2_5i25.0.7i70.1.0.input-45-not
Are you on 2.8? IF so use joints.
post your hal file..... Then we can see whats going on.
Please Log in to join the conversation.
if you upload your HAL and INI
so we can understand better what is going on
YOU can get a look on the alredy connecte pins
with MASHINE Menue Halshow
if you are on AXIS
Please Log in to join the conversation.
Please Log in to join the conversation.
JT
Please Log in to join the conversation.
Please Log in to join the conversation.
Does your config tool require X to run? Can it run on macOS? I tried installing it but skipped the bit about .xsessionrc. When I run I get:
I do have python installed at that location.
Please Log in to join the conversation.
I would wait until / if PP moves to 2.8 before making the switch. Unless you have a gantry machine in which case I think I would suggest 2.8 and _not_ PathPilot.
Please Log in to join the conversation.
