Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: bajadave on March 15, 2011, 10:28:12 PM

Title: ESC key not responding
Post by: bajadave on March 15, 2011, 10:28:12 PM
Hi Guys, I'm Dave and a newbie, I bought a Kit machine from Phil who sells the Pilot Pro, After several weeks of watching Videos on Mach I have some questions.. In the video under homing and limits he can hit the ref all home button and the machine starts to go home.. he hits the ESC key and the Z axis Stops and the program moves onto the Y axis.. My ESC does nothing.. Any Ideas? Thanks And looking forward to posting more..
Title: Re: ESC key not responding
Post by: Hood on March 16, 2011, 04:35:59 AM
Esc key normally terminates a macro I think. If using the Ref All and your axis are moving then I would think it would terminate the whole macro so all homing would stop totally.
Do your axis move when you press the Ref All?
Hood
Title: Re: ESC key not responding
Post by: bajadave on March 16, 2011, 09:19:50 AM
Thank you for the reply, Yes my Axis start to move, but if i hit the ESC key on my keyboard, Nothing happens...
Title: Re: ESC key not responding
Post by: Hood on March 16, 2011, 09:21:19 AM
Can you attach your xml and I will see if I can replicate the problem here.
Hood
Title: Re: ESC key not responding
Post by: bajadave on March 16, 2011, 09:33:01 AM
The file i'm playing with is the roadrunner file that comes with Mach3, How do I find the XML File
Title: Re: ESC key not responding
Post by: Hood on March 16, 2011, 09:36:27 AM
Ok look at the lwer right of the main page in Mach and you will see your profile name. Look in the main Mach3 folder for a file with that name and the xml extension. You may need to copy it to your desktop and rename it to something like bajadave.xml for the forum to accept it.
Hood
Title: Re: ESC key not responding
Post by: bajadave on March 16, 2011, 09:42:21 AM
Hope This is correct
Title: Re: ESC key not responding
Post by: Hood on March 16, 2011, 09:48:09 AM
Esc is working fine here with your xml, I pressed RefAll, Z started moving, I pressed Esc and the Z stopped and RefAll macro exited.
If you dont get that happening then maybe it is your keyboard, could even be the layout of your keyboard if it is not a UK or USA layout.
Hood
Title: Re: ESC key not responding
Post by: bajadave on March 16, 2011, 09:52:08 AM
Ok, I will hook up another keyboard and see if that is the problem. Thanks for your help... I'm just trying to learn to home the machine.. lol
Title: Re: ESC key not responding
Post by: Hood on March 16, 2011, 09:58:31 AM
You shouldnt need to press the Esc key to Home, press Ref All the Z should move to its switch, hit the switch and then back off until the switch closes, then the Y will start moving and do the same then the X.
As you have the Y and A slaved then A will move with Y but you probably wont see the A DRO move. I think also you will need to choose the Home slave with Master option on General Config page.
Hood
Title: Re: ESC key not responding
Post by: bajadave on March 16, 2011, 10:02:55 AM
I switched to another keyboard and the ESC  key stops the machine but does not let it go to the next axis when doing a ref all...
Title: Re: ESC key not responding
Post by: Hood on March 16, 2011, 10:05:46 AM
It wont and shouldnt as far as I know, it will interrupt and exit the homing macro and I think that is what it should do.
Why do you want to interrupt the homing routine?
Hood
Title: Re: ESC key not responding
Post by: bajadave on March 16, 2011, 10:07:50 AM
I have limits and home switches on all the axis except for the Z... I have an aligator clip and a piece of aluminum channel for the Z... Saying that, how do I home the Z to the top?
Title: Re: ESC key not responding
Post by: bajadave on March 16, 2011, 10:12:31 AM
I should also say that the Y axis has to Motors as its a dual drive, thus is why the Y and A are slaved together...
Title: Re: ESC key not responding
Post by: Hood on March 16, 2011, 10:14:24 AM
You should uncheck the Z homing in Ports and Pins and then when you Press Ref All it will not move but Mach will set the present Z position as Machine Zero. So what you should do is move Z fully up  by jogging before you press Ref All and then Z will be set correctly.
Hood
Title: Re: ESC key not responding
Post by: Hood on March 16, 2011, 10:15:09 AM
Yes I realise that about Y and A. Do you have Home switches at both sides, ie one for Y one for A?
Hood
Title: Re: ESC key not responding
Post by: bajadave on March 16, 2011, 10:26:45 AM
Thank You Hood, That Worked... Perhaps you can help me with another problem... My MAchine work area is 42" by 26". The 42" being the Y Axis and moves left to right... the 26" is the gantry and moves away and to me X axis... on my key board, If i hit page up the Z goes down, if i hit the the direction keys left or right. the Y moves the oppisite direction. can this be corrected some how?
Title: Re: ESC key not responding
Post by: Hood on March 16, 2011, 10:28:50 AM
Go to Config menu then Homing and limits and choose reverse for the axis you want to swap direction.
Hood
Title: Re: ESC key not responding
Post by: bajadave on March 16, 2011, 10:37:04 AM
Changing the reverse worked for the Z axis as now it goes down when I press the Page down key and up when I press the Page up Key... I still have the problem when I press the up arrow key and my Y axis moves instead of my X axis .. What i'm trying to say is that the keys seem wrong to me as the up and down arrows move the Y axis and left and right move the Gantry...
Title: Re: ESC key not responding
Post by: Hood on March 16, 2011, 10:41:38 AM
That is the correct way for the keys with a normal setup. The Y axis moves up and down the screen and X across the screen.
You cant change that in Mach as it is the conventional way for axis to be. You can however change the keys which move an axis, go to Config then System Hotkeys, press the X++ and then a box will apear and yo then press the key you want, do the same for the other axis.
Hood
Title: Re: ESC key not responding
Post by: bajadave on March 16, 2011, 10:50:56 AM
Thanks Hood, You've been a great help!!!!!