7i96 Homing Setup

More
5 years 2 months ago #217550 by dzawacki
7i96 Homing Setup was created by dzawacki
Hello everyone!

I've nearly finished my build of a 24x48" CNC wood router. I'm at the point with only the fiddly bits left before I can start using it. Where I am stuck right now is how I'm supposed to configure the homing switches.

I have homing set on the X and Y axis, but I clearly have it configured wrong. Every time try to home the axis, it moves towards home, trips the limit switch, and then stops with a "joint 1 follow error".

I've read through the documentation here:  Mesa Configuration Wizard (linuxcnc.org)  but I cannot wrap my head around it. 

For the X axis, I have:
Positive Travel Distance - 24.000
Negative Travel Distance - 0.000
Home Position Location - 12.000
Home Switch location - 1.500
Home Search Velocity - 60.00
Home Search Direction - Towards Negative Limit
Home Latch Velocity - 10.000
Home Latch Direction - Opposite
Home Final Velocity - 10.00

I know I'm thinking about this all wrong, but is anyone able to help me understand this?

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

More
5 years 2 months ago #217556 by PCW
Replied by PCW on topic 7i96 Homing Setup
You would not expect a following error unless the step generator was asked to
make an impossible motion (higher velocity or acceleration requested than
allowed by step generator settings)

Can you post you hal an ini files here as attachments?

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

More
5 years 2 months ago #217557 by dzawacki
Replied by dzawacki on topic 7i96 Homing Setup
I think I attached the right ones.

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

More
5 years 2 months ago #217559 by PCW
Replied by PCW on topic 7i96 Homing Setup
I don't see anything obvious wrong.

Is it possible you have a wiring issue and you are tripping
an estop with the home switch?

You might try activating all the switches while watching them with halshow
to see if they are working properly
The following user(s) said Thank You: dzawacki

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

More
5 years 2 months ago - 5 years 2 months ago #217564 by Clive S
Replied by Clive S on topic 7i96 Homing Setup

Hello everyone!

I've nearly finished my build of a 24x48" CNC wood router. I'm at the point with only the fiddly bits left before I can start using it. Where I am stuck right now is how I'm supposed to configure the homing switches.

I have homing set on the X and Y axis, but I clearly have it configured wrong. Every time try to home the axis, it moves towards home, trips the limit switch, and then stops with a "joint 1 follow error".

I've read through the documentation here:  Mesa Configuration Wizard (linuxcnc.org) but I cannot wrap my head around it. 

For the X axis, I have:
Positive Travel Distance - 24.000
Negative Travel Distance - 0.000
Home Position Location - 12.000
Home Switch location - 1.500
Home Search Velocity - 60.00
Home Search Direction - Towards Negative Limit
Home Latch Velocity - 10.000
Home Latch Direction - Opposite
Home Final Velocity - 10.00

I know I'm thinking about this all wrong, but is anyone able to help me understand this?

You have different numbers in the ini file for X ie you have Home Search Vel 60 above and -1 in the ini file

Which one is correct?

In X you have HOME_OFFSET = 1.500000 for a start set that at 0

In Y you have HOME_FINAL_VEL = 0.000000 This need to be a number as it will not move with zero

It is normal to add a HOME_SEQUENCE = number for each axis in the ini file ie HOME_SEQUENCE = 0 would be homed first ie Z first and HOME_SEQUENCE = 1 would be homed second etc.
Last edit: 5 years 2 months ago by Clive S.

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

More
5 years 2 months ago #217565 by dzawacki
Replied by dzawacki on topic 7i96 Homing Setup
I can do a test on that.

Can you give an example of how I could have things set up that would cause the e-stop to be triggered by the home switch? If I remember correctly, I have 5 limit switches wired to inputs 0-4. And I have 2 limit switches wired in series to input 5. Both limits and e-stops are utilizing the input common pin on the 7i96.

Thinking about testing, my e-stop isn't being tripped in the UI when I hit any of the limit/home switches but I'll run through halshow just to see if I'm missing something.

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

Moderators: cmorley
Time to create page: 0.370 seconds
Powered by Kunena Forum