Home proximity switch activating, axis reversing but then moving forwards again?
Hi there, much more knowledgeable people,
After finally getting some free time I am now at the stage of my build where I can do some wiring to the machine (gantry style router, CS Labs IPM, 3 axis, proximity switches mounted sideways on, Mach 3 etc). So I have just wired my first proximity home switch for the gantry and when I click home, off the gantry goes to the home sensor which is then activated and the gantry backs off. Problem is it then reverses direction and carries on towards a collision. Is this something to do with home and limits settings in mach 3 and the sideways / perpendicular mounted proximity sensor? I've tried experimenting with parameters but I'm not sure what i'm doing. Can anyone please advise why this is happening?
Thanks Chris
Re: Home proximity switch activating, axis reversing but then moving forwards again?
Not sure about Mach3 but in LinuxCNC the gantry runs to the switch at relatively high speed, backs off a few mm and then runs back to the switch again more slowly to get a more consistent homing reference. It finally backs off again to the set parking position.
One guess would be your final parking position is a negative value on the wrong side of the switch.
Re: Home proximity switch activating, axis reversing but then moving forwards again?
Can you post some pics of your home and limits setup screens. It's 99.999% just a setting but without seeing your settings i'd be guessing. Or better still post your XML file which you will find in the mach3 folder under the same name as the profile you use. You will need to Zip it up so the forum will allow you to upload it.
Then I can see all your settings.
1 Attachment(s)
Re: Home proximity switch activating, axis reversing but then moving forwards again?
Thanks Jazz,
Attachment 28353
Hope I've attached the zipped XML file and not something else.
I altered home and limits to the new settings that should be showing on the XML file and it now works. Problem is that if I alter the home speed above 3% the machine makes an awful noise and the gantry doesn't move. The noise is high pitched and changes depending on the home speed. It doesn't sound like when a stepper motor stalls.
Thanks Chris
Re: Home proximity switch activating, axis reversing but then moving forwards again?
It also makes that noise when I press shift and jog but not when incremental jogging :confusion:
Re: Home proximity switch activating, axis reversing but then moving forwards again?
Quote:
Originally Posted by
chillybo
Thanks Jazz,
Attachment 28353
Hope I've attached the zipped XML file and not something else.
I altered home and limits to the new settings that should be showing on the XML file and it now works. Problem is that if I alter the home speed above 3% the machine makes an awful noise and the gantry doesn't move. The noise is high pitched and changes depending on the home speed. It doesn't sound like when a stepper motor stalls.
Thanks Chris
Didn't work not seeing any thing in the zip
2 Attachment(s)
Re: Home proximity switch activating, axis reversing but then moving forwards again?
Jazz and folks, here's a couple of pictures - home limit screen and motor tuning screen - if that's got anything to do with it.
Attachment 28363Attachment 28362
Re: Home proximity switch activating, axis reversing but then moving forwards again?
What units are you using Metric or imperial.?
Re: Home proximity switch activating, axis reversing but then moving forwards again?
Re: Home proximity switch activating, axis reversing but then moving forwards again?
Quote:
Originally Posted by
chillybo
metric
Did you see Jazzcnc quote "Didn't work not seeing any thing in the zip" How can anybody help with one word answers.
I would suggest have another go at posting the XML file and checking it works you might be able to post it by changing the file name by adding .txt to the end of the file name. ie Mach3.xml.txt