Home all axis by Lpt pin

More
15 Nov 2010 08:14 - 15 Nov 2010 09:00 #5307 by z_nick
Hello,
I have a question. How i can Home all(2) axis by one Lpt pin?
Thanx.
Last edit: 15 Nov 2010 09:00 by z_nick.

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

More
15 Nov 2010 10:31 #5312 by andypugh
Can you explain your requirement in more detail?

Do you want to use one pin as the home switch for all axes, or do you want to use an p-port pin to start the homing sequence?

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

More
15 Nov 2010 11:45 #5313 by z_nick
Replied by z_nick on topic Re:Home all axis by Lpt pin
use an p-port One pin to start the homing sequence of all axis

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

More
15 Nov 2010 12:31 #5314 by z_nick
Replied by z_nick on topic Re:Home all axis by Lpt pin
I just solve the problem: It must be the same HOME_SEQUENCE for all axis.

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

More
15 Nov 2010 12:33 #5315 by andypugh
It should be as simple as adding halui to the ini file (if it it not already there): in the [HAL] section of the INI file add the line
HALUI = halui

Then in the HAL file adding the line
net home-button parport.0.pin-10-in => halui.home-all

If you want to use a different pin, use a different number. If you find that the sense of the switch is wrong then change it to parport.0.pin-10-in-not. If the button is on the second parport then change it to paport.1.in-10-in.

The "home-button" signal name immediately after the "net" can be changed to suit your whim.

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

More
15 Nov 2010 12:33 #5316 by BigJohnT
Halui has a home pin but you have to select the joint to home first.

www.linuxcnc.org/docview/html//man/man1/halui.1.html

The "Home All" AFAIK is an Axis thing.

John

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

More
15 Nov 2010 12:48 #5318 by andypugh
z_nick wrote:

I just solve the problem: It must be the same HOME_SEQUENCE for all axis.


That shouldn't be the case, as it isn't so when doing a "Home All" from the graphical interface.

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

More
15 Nov 2010 12:49 #5319 by andypugh
BigJohnT wrote:

Halui has a home pin but you have to select the joint to home first.

www.linuxcnc.org/docview/html//man/man1/halui.1.html

The "Home All" AFAIK is an Axis thing.

John


The docs mention a halui.home-all pin, is that not present in practice?

www.linuxcnc.org/docview/html/man/man1/halui.1.html

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

More
15 Nov 2010 13:09 #5321 by BigJohnT
I think I missed that LOL... yes it is there. Too early in the morning for me.

John

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

Time to create page: 0.866 seconds
Powered by Kunena Forum