Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Marwellca on November 22, 2009, 04:04:26 PM

Title: Homing the machine.
Post by: Marwellca on November 22, 2009, 04:04:26 PM
I just converted my Chinese bought router from a pendant operated to a Mach 3 operated machine. I installed a C11G board from CNC4PC and all looks good. When I try to "Ref all home" the machine, the X and Y axis DRO's turn to zero (without the axis moving) and the Z just stays at the same value.
What do I have to set up to get the machine to home properly?

Martyn.
Title: Re: Homing the machine.
Post by: Hood on November 22, 2009, 05:45:59 PM
You need to have the Home switches enabled in Ports and Pins, Inputs.
Hood
Title: Re: Homing the machine.
Post by: Marwellca on November 22, 2009, 05:58:16 PM
Hood,
I did that, at least I think I did. X is on input 11, Y is on 12, and Z is on 13. Did I miss something?
Title: Re: Homing the machine.
Post by: Hood on November 22, 2009, 06:00:36 PM
make sure you have them enabled, if you do then attach your xml and I will have a look.
Hood
Title: Re: Homing the machine.
Post by: Marwellca on November 22, 2009, 06:27:56 PM
When I make the switches, the green square lights up in the diagnostics screen.
Title: Re: Homing the machine.
Post by: Hood on November 22, 2009, 06:37:22 PM
If you are using a custom screenset then check the correct script is in the Ref All button. If you are using the standard screenset then attach your xml and I will have a look.
Hood
Title: Re: Homing the machine.
Post by: Marwellca on November 22, 2009, 06:38:43 PM
I am using the standard screen set. What is the XML and how do I get it?
Title: Re: Homing the machine.
Post by: Hood on November 22, 2009, 06:45:20 PM
It is your profile settings file. If you are using the standard Mach3Mill profile it will be in your main Mach3 folder and will be called Mach3Mill.xml. If you have a custom profile it will be named the same as your profiles name.
You will need to copy it from the Mach3 folder to your desktop and then rename, suggest Marwellca.xml, this is because the forum will only allow one instance of a file to be uploaded and there will already be a Mach3Mill.xml.
 To attach to a post use the additional options button on the reply page and browse to the location of the renamed xml and attach.
Hood
Title: Re: Homing the machine.
Post by: Marwellca on November 22, 2009, 06:55:17 PM
One XML file attached as per request.
Title: Re: Homing the machine.
Post by: Hood on November 22, 2009, 07:10:24 PM
Seems to be working fine here, try increasing the Debounce Interval on the General Config page. Set it to 2000 and see if that helps. If it does then reduce until you again get the problem then increase slightly until it goes away again.
If the debounce helps then it means you have noise in your home switch wiring, it is always best to have 5v signal wiring shielded and properly grounded.
Hood
Title: Re: Homing the machine.
Post by: Marwellca on November 22, 2009, 07:33:16 PM
I did that and it definitely helped. When I was on the diagnostics screen I could see the green squares for the prox switches flashing in a random order. How can I get rid of the noise, what is the best way to shield the switches and or wiring?

I also tried to auto calibrate the axis. When I tried to input a value such as 2 inches it would not accept anything from the keypad. I know the keypad is working okay, why will it not accept any value?
Title: Re: Homing the machine.
Post by: Hood on November 22, 2009, 07:36:59 PM
You really need shielded wire and have the shield connected to ground at one end only and best to have all shielding grounded to a single loacation in your control cabinet.

Are you pressing the Enter Key on your keyboard after you type into a DRO?
Hood
Title: Re: Homing the machine.
Post by: Marwellca on November 22, 2009, 07:55:46 PM
It is okay I figured that part out. I will have to see if I can get some shielded wire and switches there is way too much noise and it keeps tripping the prox switches so it will not home properly.

Thanks for all your help, with luck I may have this up and running this week.

Martyn
Title: Re: Homing the machine.
Post by: Hood on November 22, 2009, 08:01:20 PM
:)

Title: Re: Homing the machine.
Post by: Fastest1 on November 22, 2009, 09:00:07 PM
Some people have to insert a resistor in the homing switch circuit to eliminate errant spikes triiger them. Shielding is the best way to go also make sure the servo/stepper wires arent running right alongside the homing switch wiring.