Yes, frustration can get the better of you at times and sometimes this prevents you from seeing the forest through the trees.
After a couple of hours sleep I read your response and decided to re-attack the problem from an analytical perspective which yielded some surprising results.
Hello DWalsh62,
If you can find what you are looking for by decompiling the code go for it! The trouble is that it is not going to help you.. There is NO setting for the pull off amount. I will tell you how homing works and then I will tell you about what is going on with your system.
Acknowledge decompiling to add/adjust would be a waste of time if the option is not present.
How it works:
1.) Machine starts by doing a move looking for the home switch
2.) Switch is found and motor decelerates (based on the motor tuning settings)
3.) Motor reverses looking for the switch to open back up at 20% of the home speed (this is what you are calling the pull off move)
4.) Switch opens back up and the motor decelerates
5.) Axis machine position is set to zero
As you can see I never said anything about pull off distance because there is none..
Understood.
What could be your issue (this is after working on problems like this for over 10 years) :
Electrical noise... How do you know that is what it is .. well I think you are telling me that it is not pulling off the home switch. On the diagnostics page please tell me if the home switch is still active after the homing is done. If the machine is on the switch you need to add some debounce to the inputs. This can be found under config general config, I would start with about 500 and see if that helps.
Here is what I tested at 1% home speed in Config->Homing/Limits (to obtain maximum error response).
1) home switches wired as Normally Open on each axis and limits wired as Normally Closed (on different inputs).
2) connect oscilloscope to home switch and perform homing tests.
3) 34us after contact, circuit is broken for 347us (mechanical switch bounce) with installed micro cherry switch (red/black - ebay purchased).
4) test with larger cherry switch with stronger spring 17us / 841us / 214us (double mechanical switch bounce - bigger is not better) (white/black with screw terminals - CNC4PC purchased).
5) test with smaller micro cherry switch with weaker spring 29us / 289us (tan/black - ebay purchased).
6) test with proximity switch (4 random switches) 3us / 1721us (electrical noise but no bounce).
7) test with optical switch (4 random switches) 1us / 1389us (electrical noise but no bounce).
note: cherry switches are all roller lever type, no mechanical bounce issues present in switch wired in NC configuration.
CONCLUSION:
issue is mechanical switch bounce and cannot be completely removed but a 1.0uf cap + 1N4148 diode will reduce this considerably to acceptable level while allowing for quick recovery due to low voltage.
electrical switches have electrical noise but can be filtered out and bounce is non-existent.
SOLUTION:
replace mechanical switches with optical switches with LC (inductive / capacitive) or RC (resistive / capacitive) filters (DC passing) results in optimal performance at minimal cost.
NEXT STEP:
create small PCB with 5V supply regulation, filter networks to support eight optical/proximity switch I/O, two probe switch/sensor I/O and one tri-channel digitizing I/O (never know what I might be doing in future).
Now as far as you thinking that we are not responding ... I could see that there where people looking at your post as soon as you put it up.. ALSO we have full time support staff to see that if you contact us you will get taken care of in a reasonable time. I don't see the need for being so nasty, it is okay because I forgive you I know it can be frustrating when setting up a machine and you need to get parts done and you are dealing with software issues. Best of luck and if you need help please feel free to contact me directly.
Thanks
Brian
If it isn't apparently obvious, I am also apologizing for my outburst, my frustration excuse is insufficient to warrant/justify it and I never gave you the opportunity to advise on the problem which you deserved.