Pulling my hair out trying to get homing working!

More
23 Sep 2023 12:44 - 23 Sep 2023 12:46 #281468 by Aciera
[edit]
Never mind, now I'm confused.
Last edit: 23 Sep 2023 12:46 by Aciera.

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

More
23 Sep 2023 13:09 #281471 by Aciera
Looking at your hal and ini again, I can't see anything wrong.
The only suggestion I have at the moment is to use the 'halscope' tool and look at 'hm2_7i96s.0.inm.00.input-01-not' while trying to home the x axis.

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

More
23 Sep 2023 13:29 #281472 by Sparkman61
It appears that the wizard is NOT setting HOME_IS_SHARED. I will enter it manually and see what happens.

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

More
23 Sep 2023 14:08 #281474 by Sparkman61
Ok, tried that and the state never changes (if that is what you were expecting).

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

More
23 Sep 2023 14:16 #281475 by Sparkman61
Ok, I'm wondering if my linuxcnc is up-to-date ...
I loaded this system back in May and got tied up and didn't get back to it until now. I thought about starting from scratch but that is a major PITA. I have run the updates that I can find...
Thoughts?

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

More
23 Sep 2023 14:20 #281476 by Aciera

Ok, tried that and the state never changes (if that is what you were expecting).

If that is 'hm2_7i96s.0.inm.00.input-01-not' when homing the x axis then no, that is not what I was expecting. Since this is you home switch for that axis it would need to change once the switch is activated. If you press the switch manually do you see the signal change?
You can also use the 'show halconfiguration' tool or the 'hal meter' just to be sure that this is not a set up issue in the halscope tool.
 

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

More
23 Sep 2023 14:50 #281477 by tommylight

2. It's OK to have one switch for both limits (positive AND negative) AND home.

This is OK, thankfully, it saves a lot of time and money - not very important, but it also hugely lowers the risk of interference on plasma machines - very important, hence all my plasma machines use this, a single switch for everything on one axis/joint.
The following user(s) said Thank You: Aciera

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

More
23 Sep 2023 17:08 #281490 by Sparkman61

Ok, tried that and the state never changes (if that is what you were expecting).
If that is 'hm2_7i96s.0.inm.00.input-01-not' when homing the x axis then no, that is not what I was expecting. Since this is you home switch for that axis it would need to change once the switch is activated. If you press the switch manually do you see the signal change?
You can also use the 'show halconfiguration' tool or the 'hal meter' just to be sure that this is not a set up issue in the halscope tool.
 

I'll take a look soon and report what I am seeing. Is there a setting - like a delay - that controls the time between when the home is triggered or should it simply disable the limit entirely? Could it be that it is changing but so fast that the motor doesn't have enough time to move of the switch? Just thinking out loud...

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

More
23 Sep 2023 17:42 #281492 by MaHa
I think HOME_OFFSET should be outside soft limit. I would try set HOME_OFFSET to -1.5 or switch values from MIN_LIMIT and HOME_OFFSET.

Thats from your .ini

MIN_LIMIT = -1.0MAX_LIMIT = 48.0HOME_OFFSET = -0.500000

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

More
23 Sep 2023 18:52 - 23 Sep 2023 18:55 #281497 by Sparkman61
I made a few minor changes to the ini and hal files so attaching them here.  Also, running Show Hal Configuration while homing the x axis (joint_0).  The attached image doesn't change.  However, I can see the indicators on the 7i96s board light up (actually go out) when the limit/home switch is actuated.  I'm guessing that  hm2_7i96s.0.inm.00.input-00-not indicator should change from yellow to something else - right?
Attachments:
Last edit: 23 Sep 2023 18:55 by Sparkman61.

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

Time to create page: 0.181 seconds
Powered by Kunena Forum