Question on configuring HAL

More
10 Mar 2017 15:26 - 10 Mar 2017 15:29 #89335 by Alex_k26
Hello, everybody!

My setup has a rotary axis with only one reed switch which is used for homing.
In the HAL-file I use:
net low-limit-b <= parport.1.pin-05-in-not
net high-limit-b <= parport.1.pin-06-in-not

It looks like I can handle with only one command instead of these two in order to decrease the total amount of parallel port pins used. But I can't find one!

There is nothing about that commands (signals) in the whole documentation except this: linuxcnc.org/docs/html/config/stepper.html
But it's not enough. Can anybody provide me a whole list with explanation?

Thank you in advance! ;)
Last edit: 10 Mar 2017 15:29 by Alex_k26.

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

More
10 Mar 2017 17:39 #89353 by Todd Zuercher
Just trying to under stand exactly what you have and want.

You have one switch? (correct)

You want to use that switch as a home for your rotary axis?

Does that axis need a limit?

Are you using the above mentioned home switch as limit switches?

What exactly is connected to parport.1 pins 5 and 6?
The following user(s) said Thank You: Alex_k26

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

More
10 Mar 2017 18:05 - 10 Mar 2017 18:06 #89355 by Alex_k26

Just trying to under stand exactly what you have and want.

You have one switch? (correct)

yes, that's rotary axis and I have one switch.

You want to use that switch as a home for your rotary axis?

yes, I want to use it as a home

Does that axis need a limit?

no, it's rotary axis, so it doesn't need limits

Are you using the above mentioned home switch as limit switches?

There is only one home switch on this axis, and I didn't try to use it as a limit switch.

What exactly is connected to parport.1 pins 5 and 6?

I cant guarantee what wires are exactly connected to the 5 and 6 pins, but I know that this axis already works OK, it homes properly
Last edit: 10 Mar 2017 18:06 by Alex_k26.

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

More
10 Mar 2017 18:56 #89360 by Todd Zuercher
So you do not have a parallel port pin selected yet for connecting your new home switch?

The first thing you must do is decide where you will connect it. Do you have any open input pins you can use for it?
If you don't, then you must carefully examine the pins you are using, and how they are used to see if you can combine any signals.
Such as combining the home and or limits of other axis.

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

Time to create page: 0.067 seconds
Powered by Kunena Forum