Question on configuring HAL
10 Mar 2017 15:26 - 10 Mar 2017 15:29 #89335
by Alex_k26
Question on configuring HAL was created 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!
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.
- Todd Zuercher
- Away
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
10 Mar 2017 17:39 #89353
by Todd Zuercher
Replied by Todd Zuercher on topic Question on configuring HAL
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?
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.
10 Mar 2017 18:05 - 10 Mar 2017 18:06 #89355
by Alex_k26
Replied by Alex_k26 on topic Question on configuring HAL
yes, that's rotary axis and I have one switch.Just trying to under stand exactly what you have and want.
You have one switch? (correct)
yes, I want to use it as a homeYou want to use that switch as a home for your rotary axis?
no, it's rotary axis, so it doesn't need limitsDoes that axis need a limit?
There is only one home switch on this axis, and I didn't try to use it as a limit switch.Are you using the above mentioned home switch as limit switches?
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 properlyWhat exactly is connected to parport.1 pins 5 and 6?
Last edit: 10 Mar 2017 18:06 by Alex_k26.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Away
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
10 Mar 2017 18:56 #89360
by Todd Zuercher
Replied by Todd Zuercher on topic Question on configuring HAL
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.
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