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