Homing switches not recognized linuxcnc

More
09 Feb 2016 11:44 #69832 by andypugh

I am wondering if my breakout board is working. I did away with the usb cable and hooked up a 5v power supply. The home all button is back


There is almost no chance that hardware changes would make the home-all button appear and disappear.
The button is created by Axis if it can see a home sequence number in the INI for each axis. It pays absolutely no attention to any hardware.

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

More
09 Feb 2016 11:57 #69836 by Boltonbrass
I did set home_sequence in the hal file. I used a volt meter on the breakout board last night and there is no signal. I know the pins are not linked in the hal, but there should be some voltage to the switches.

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

More
09 Feb 2016 12:09 #69837 by andypugh

I know the pins are not linked in the hal, but there should be some voltage to the switches.


Not necessarily. Some BoBs have opto-couplers on the inputs. You need to wire them such that current flows through them, which normally means 5V from somewhere on the BoB to one side of the switch then the other side of the switch to the BoB input terminal.

Do you have a link to docs or a web page of the BoB?

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

More
09 Feb 2016 12:16 #69838 by Boltonbrass
Yes I do have docs on the breakout and you see them at omc-stepperonline. No where in the docs does it say hook power to the switches. Please elaborate and thank you for the help.

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

More
09 Feb 2016 12:31 - 09 Feb 2016 12:31 #69839 by andypugh

Yes I do have docs on the breakout and you see them at omc-stepperonline. .


This one?

It does have optos on the inputs, but they seem to have onboard pull-ups.

You should see the parallel port pin state change in LinuxCNC when you connect any of the input terminals to the bottom common gnd terminal on the left-side terminal block.

Is that how you have the switches wired?

I wouldn't necessarily read too much into the measured voltage on the terminals, but you should have one multimeter probe on the input pin and the other on the common gnd pin at the bottom when testing.

But, what really matters is what HAL sees. The parallel port tester is probably the best tool.
Last edit: 09 Feb 2016 12:31 by andypugh.

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

More
09 Feb 2016 13:12 #69840 by Boltonbrass
I the switches wired to ground and pin 12 and 15. I would think there would be some kind of voltage to the switches. The hal pin tester will probably help. What about a better breakout board? Pmx 122 maybe?

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

More
09 Feb 2016 13:38 #69842 by andypugh

I the switches wired to ground and pin 12 and 15. I would think there would be some kind of voltage to the switches. The hal pin tester will probably help. What about a better breakout board? Pmx 122 maybe?


When you say "GND" do you mean the bottom terminal of the input block or some other GND?

That BoB ought to be as good as any other. They don't have a difficult job to do, the parallel port is the limitation and spending a lot on a BoB can only partially fix that.

I can't see much point paying $80 for a BoB when for $60 you can have (As an example) store.mesanet.com/index.php?route=produc...83_85&product_id=291 which gives you 72 IO lines and hardware step generation. Admittedly you still probably need to spend at least another $45 on breakout for the FPGA board and then feature-creep will step in)

If your existing BoB doesn't seem to be working then you could start poking about the opto-isolators with the multimeter to see what might be wrong, they are pretty simple devices. But bear in mind that they are operated by current, not voltage. The wiring makes a lot more sense when you look at it that way.
The following user(s) said Thank You: Boltonbrass

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

More
09 Feb 2016 14:19 #69846 by Boltonbrass
Basically what you saying is the BoB is probably not the problem. I just need to hookup para port tester and what is going on. The switches have a tolerance of .001". If I can get this to work, I am a in business.

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

More
10 Feb 2016 16:36 #69936 by Boltonbrass
I tried to get the latest working ran into problem with it. I put in its own folder. I do think it the right tool for determining what is going on. Any ideas? Would halscope work?

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

More
10 Feb 2016 16:41 #69939 by andypugh

I tried to get the latest working ran into problem with it.


What problem did you run into?

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

Time to create page: 0.100 seconds
Powered by Kunena Forum