CNC Homing is not working

More
5 years 1 month ago #220081 by PCW
Replied by PCW on topic CNC Homing is not working
What is the actual error?

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

More
5 years 1 month ago #220164 by kedgardov
Replied by kedgardov on topic CNC Homing is not working
So the actual error I get is "joint n on limit switch error" on all joints. {I'm attaching a picture of the problem{this picture is of the problem when all other homing lines are commented on the ini file, however I'll get one of those for each joint if uncommented}}. I did some research and found a similar problem in this link: forum.linuxcnc.org/49-basic-configuratio...limits-during-homing
However I don't think they found a solution in terms of software. I ran some tests commenting the homing and limit nets for all other axis but y, It seems to kind of work that way. which is what lead me to think the error had to do with the "To use only one input for all homing and limits you will have to block the limit signals of the joints not homing in HAL and home one joint at a time." line in the homing documentation. I tried using and2 gates to only home when joint.n.homing and ALL-LIMIT-HOME signals where True for the joint.0.home-sw-in. I still get the same error (which may be because it the other joint.n.home-sw-in signals are triggering). What can I do to prevent them for triggering while homing?

Example of the and2 gates created [which seems to work perfect when I monitor signals in the halmeter]:
Code:
loadrt and2 count=1 addf and2.0 servo-thread net and2.0.in0 <= parport.0.pin-11-in net and2.0.in1 <= joint.0.homing net
joint.0.home-sw-in
Code:
<= and2.0.out

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

More
5 years 1 month ago #220165 by PCW
Replied by PCW on topic CNC Homing is not working
Ahh yes combined limits and home only work on a per joint basis

Seems like a better solution is to just use 3 inputs
The following user(s) said Thank You: kedgardov

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

More
5 years 1 month ago #220166 by kedgardov
Replied by kedgardov on topic CNC Homing is not working
I'm attaching my hal and ini files (most changes if not all are on the hal file)

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

Time to create page: 0.067 seconds
Powered by Kunena Forum