Mesa 7i96 and LinuxCNC 2.8 PnCConf

More
7 years 11 months ago - 7 years 11 months ago #120021 by PCW

Why oh why is linuxcnc so picky?


Because if it was not picky/precise about pin names you could not trust its behavior.

Its easy to get pin/parameter/signal names right, just use the available tools to list the actual pin/parameter names.

For example to list all pins/parameters and functions, you can runs this command:

halcmd show all

to show just 7I96 pins/parameters you could type

halcmd show all | grep 7i96

You can also re-direct the output of these commands to a "donor" file to copypast from, so you never need to actually type pin/parameter names:

halcmd show pin | grep 7i96 > 7i96pins.txt
Last edit: 7 years 11 months ago by PCW.
The following user(s) said Thank You: snugglylovemuffin

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #120024 by andypugh
Or halcmd show all *7i86* (halcmd accepts wildcards)

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #120027 by PCW
Unfortunately that does not always work, not sure why

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #120057 by snugglylovemuffin
Pulled up halshow, put pins 34-39 on "watch" and actuated the limit; no indication of anything happening. I can run 24v into TB3 1-11 to switch low right? Just asking because there doesn't seem to be much of a reason for the limits to not work.

hm2_7i96.0.gpio.034.in_not is the proper way to wire the pin to switch low in mesa, yes?

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #120064 by PCW
7I96 inputs are on GPIO 0..10

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #120108 by snugglylovemuffin
Got it. I'm getting the "limit on error" again and it resolves after removing the "_not" and halshow still isn't showing the limits trip.

Just to confirm, my x-min-home is "hm2_7i96.0.gpio.000.in"

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.457 seconds
Powered by Kunena Forum