Index Homing odd offset

More
11 years 1 week ago #63988 by OT-CNC
Replied by OT-CNC on topic Index Homing odd offset
Just got back from the shop. I tried a few things and it looks like the homing routine just does not work properly.

The machine position values in the dro and position of the slide affects how the homing occurs. If let's say as an example the carriage is positioned at Z-2", and the dro shows Z-3" it will over run the home switch I assume by 1". It will trigger the home switch,reverse, reach the index, then reverse direction and move into my limit switch. It does not seem to zero out the dro.
If the value in the dro is closer to 0" and the position of the slide is -.1" off the home switch, the homing routine works. Carriage moves towards home switch, triggers, moves away from the switch, reads index and continues moving away in the same direction to the same location ~ .1" off the switch.
This seems correct and repeats.
The machine is trying to move to 0 based on the dro abs values regardless of the home/index signals.
Is this a bug?

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

More
11 years 1 week ago #63993 by andypugh
Replied by andypugh on topic Index Homing odd offset

OT-CNC wrote: Is this a bug?


No. Index homing definitely works.

Can you set up Halscope to watch the ...encoder.N.index-enable pins during a homing move?

Is it possible that the combination of machine velocity and accel settings is such that the machine runs right past the home switch?

A typical sequence will be to rapid on to the switch, rapid off the switch, slow move on to the switch.
If the machine can't stop from SEARCH_VELOCITY before it is "though" the switch then the final search will be on the wrong side of the switch and will run to the end stop.

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

More
11 years 1 week ago #64003 by OT-CNC
Replied by OT-CNC on topic Index Homing odd offset
The machine is creeping slowly towards the switch. I will confirm that I'm getting a clean index and home signal but I'm pretty sure it reads because there is a distinct change in velocity when the index is triggered and the index is always at the same point after hitting the home switch.
I will further reduce the speed to see if anything changes.

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

More
11 years 1 week ago #64022 by OT-CNC
Replied by OT-CNC on topic Index Homing odd offset
Okay, just looked at axis.2.index-enable (pins), z-index-enable(signals), hm2_5i25.0.encoder.02.index-enable(pins), all show a signal.

I can repeat the error. Another example is jogging the axis say into the middle of machine travel, click on home all, I then manually trigger the home switch with my finger, the axis will travel all the way back to the original z0. near the end of travel. I can watch the dro display rewind to 0. Instead of parking around .1" from receiving the signal which in this example would be somewhere in the middle of travel.

Is it dismissing the trigger or not setting the dro to 0 when it gets the signal?

Homing without index zeros the dro and works as expected.

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

More
11 years 1 week ago #64023 by andypugh
Replied by andypugh on topic Index Homing odd offset
Can you zip up the config folder and attach it to a reply?

Also, if you compare your setup to the diagrams at www.linuxcnc.org/docs/html/config/ini-homing.html
which config type do you have, and what point does it break at?

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

More
11 years 1 week ago #64024 by PCW
Replied by PCW on topic Index Homing odd offset
How are you driving you motors?

Can you post your hal and ini files?

AFAIK homing on index does _not_ work with step/direction unless setup properly

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

Time to create page: 0.408 seconds
Powered by Kunena Forum