limit switch

More
09 Sep 2010 16:55 #4077 by occesar_0
limit switch was created by occesar_0
Hi

When I tried to handle my cnc machine, trough the emc2 interface, I get this error message "joint 0 on limit switch error", so I don't understand why?, if my switch is not activated.

How do you configure it? or what I have to do to set in the interface the position of my physical limits?

I did configure my paralell port pins as in the next image. Thanks
Attachments:

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

More
09 Sep 2010 21:12 #4079 by andypugh
Replied by andypugh on topic Re:limit switch
Try deselecting "Invert"

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

More
10 Sep 2010 17:33 #4104 by occesar_0
Replied by occesar_0 on topic Re:limit switch
After do that I get the same error message, how can I do to detect the position of my limit switch?

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

More
10 Sep 2010 22:58 - 10 Sep 2010 22:58 #4107 by BigJohnT
Replied by BigJohnT on topic Re:limit switch
To view the status of pins and signals see this:

www.linuxcnc.org/docview/html//hal_halshow.html

John
Last edit: 10 Sep 2010 22:58 by BigJohnT.

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

More
11 Sep 2010 19:14 #4128 by occesar_0
Replied by occesar_0 on topic Homing
Thanks a lot!, I fixed the problem succesfully but now I got another doubt because I want to home(ing?) in the negative direction of X and Y, and after invert some pins, always home goes to positive direction, Is that a problem of my workspace? or how to define it?

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

More
11 Sep 2010 21:29 #4134 by andypugh
Replied by andypugh on topic Re:Homing
Change the sign of the homeing velocity of the axis in the .ini file.

(You probably need to negate them all for that axis)

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

More
14 Sep 2010 18:41 #4202 by occesar_0
Replied by occesar_0 on topic home
Ok, problem solved again, I appreciate your time to answer.

Just one more question, when I send to home my axis, my limit switch has to be pressed twice,in the first try, speed becomes slower and until the second try, my servo completely stops...but I need to homeing just with one try, Is it possible?

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

More
14 Sep 2010 19:28 #4204 by andypugh
Replied by andypugh on topic Re:home
occesar_0 wrote:

Just one more question, when I send to home my axis, my limit switch has to be pressed twice,in the first try, speed becomes slower and until the second try, my servo completely stops...but I need to homeing just with one try, Is it possible?


No, homing is always a fast move to home, then a slow move to find the switch accurately. This is so that it finds the home position accurately.
However, if you have three actual moves you can reduce it to two. This page should explain:
linuxcnc.org/docs/2.4/html/config_ini_homing.html

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

Time to create page: 0.090 seconds
Powered by Kunena Forum