Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: andros on September 19, 2013, 03:24:33 AM

Title: Y axis won't move in Job Step but work fine in Continous Mode?
Post by: andros on September 19, 2013, 03:24:33 AM
My X and Z axises work fine in both Jog Step or Continous mode even at small increments. My Y axis is setup teh excat same way (i think). But the problem is that as soon as i switch the Jog Mode to Step Mode the Y axis won't move at all. X and Y moves fine. As soon as i switch back to Continous Mode again. All axises move fine again?

Makes no sense to me?
Title: Re: Y axis won't move in Job Step but work fine in Continous Mode?
Post by: Hood on September 19, 2013, 01:11:26 PM
Attach your xml please and I will have a look.
Hood
Title: Re: Y axis won't move in Job Step but work fine in Continous Mode?
Post by: andros on September 19, 2013, 01:25:09 PM
Thanx you SOOOOO much man. Im so stuck! Excuse my ignorance but the xml file is?
Title: Re: Y axis won't move in Job Step but work fine in Continous Mode?
Post by: andros on September 19, 2013, 01:26:03 PM
The pref file that launches mach3?
Title: Re: Y axis won't move in Job Step but work fine in Continous Mode?
Post by: Hood on September 19, 2013, 01:31:35 PM
Open Mach and look lower right at the name of the profile.
Close Mach then go to the Mach3 folder on you r hard drive and look for a file of that name with a .xml file extension.
Copy it to your desktop and rename to something unique, something like andros.xml
Use the additional options button on the reply page to browse to your desktop and choose the renamed file.
Hood
Title: Re: Y axis won't move in Job Step but work fine in Continous Mode?
Post by: andros on September 19, 2013, 01:42:36 PM
Thank you. Will send it to you tomorrow. Im desperate so i will look for you email every second. I reallllly appreciate you taking the time to help me!
Title: Re: Y axis won't move in Job Step but work fine in Continous Mode?
Post by: andros on September 20, 2013, 03:11:46 PM
Hey Hood!

Here is a video I recorded of the super weird problem I have:
http://www.youtube.com/watch?v=GWKeM4iC-Pw

Attached is the XML


Looking forward to your answer
Title: Re: Y axis won't move in Job Step but work fine in Continous Mode?
Post by: Hood on September 20, 2013, 04:24:15 PM
Hi Andros, it seems to be working fine here in simulation so I am unsure why it is a problem for you.
Can you tell me, does the Y axis DRO show that it is moving? It does here.
I do notice there are no HotKeys set up for your axes, I am not sure if that will make any difference as it seems fine here but it may be worth trying to set them up anyway. To do that go to Config menu then System Hotkeys. Click on X++ and a box will pop up asking for you to press a key, click you right arrow. Next X-- and press Left arrow, move to Y++ etc and do them all.
 

Hood
Title: Re: Y axis won't move in Job Step but work fine in Continous Mode?
Post by: BR549 on September 20, 2013, 04:24:28 PM
Did you try step jog from the popout screen instead of the keyboard . Or how about from the NUM keypads, Turn off numlock.

Just a thought, (;-)Tp
Title: Re: Y axis won't move in Job Step but work fine in Continous Mode?
Post by: andros on September 20, 2013, 05:17:11 PM
yes. no difference unfortunately.
Title: Re: Y axis won't move in Job Step but work fine in Continous Mode?
Post by: BR549 on September 20, 2013, 06:42:16 PM
IS this a LPT version of MAch3 or OUTSIDE controller ?

(;-) TP
Title: Re: Y axis won't move in Job Step but work fine in Continous Mode?
Post by: andros on September 20, 2013, 06:50:09 PM
It runs on a standalone computer connected via printer port to an external gecko drive g540.
Title: Re: Y axis won't move in Job Step but work fine in Continous Mode?
Post by: Hood on September 21, 2013, 07:54:18 AM
Andros, what about my question?
also did you try setting the Jog keys up as I mentioned?


Hood
Title: Re: Y axis won't move in Job Step but work fine in Continous Mode?
Post by: andros on September 21, 2013, 08:34:27 AM
Hey Hood.

Sorry i missed your post! I havent tried to set it up like you describe. But the dros are counting when hitting the up and down arrow keys in step mode but the motors are not moving. Did you check my video? Weird how it sort of works in backlash comp mode huh?
Title: Re: Y axis won't move in Job Step but work fine in Continous Mode?
Post by: Hood on September 21, 2013, 02:35:31 PM
Ok, if DROs are moving that will mean I will have to try and hook up a parallel port and a scope to see if the pulses are being output. They should be as supposedly the DROs get updated from the output of the driver, so if they are moving the pulses would seem to be getting sent.
One thing you may wish to try is increase the Pulse Width and Dir on motor tuning to maybe 10 or 15 and see if that helps.
Hood
Title: Re: Y axis won't move in Job Step but work fine in Continous Mode?
Post by: andros on September 21, 2013, 03:05:15 PM
Thank you Hood. Meanwhile the power supply to the g540 blew up. Great. I will try as soon as i get a new one! Whats weird is that motor x and y are the exact same and it sort of works in backlash mode. Could it be a software bug?
Title: Re: Y axis won't move in Job Step but work fine in Continous Mode?
Post by: andros on September 21, 2013, 03:08:56 PM
Could it be the gecko. If you could check the ports for me i would be really appreciative. Thanks for helping me so far!
Title: Re: Y axis won't move in Job Step but work fine in Continous Mode?
Post by: Hood on September 21, 2013, 05:08:54 PM
Ok I think there is something weird about your xml, I am not getting good traces on any of the axes I tried (X and Y) I set up another profile with the same steps per unit/Velocity/Accel as yours and it shows as I would expect.
So far I can not see why your profile is not right, will keep looking to see but maybe the best solution would be for you to just make a new profile from scratch as you do not have many settings to configure.
Hood
Title: Re: Y axis won't move in Job Step but work fine in Continous Mode?
Post by: Hood on September 21, 2013, 05:45:06 PM
I had forgotten to set the hotkeys up and after doing that the xml seems to be doing as it should so hopefully you will get some success by doing that.
Hood
Title: Re: Y axis won't move in Job Step but work fine in Continous Mode?
Post by: andros on September 21, 2013, 05:54:35 PM
Love you man! Cant wait to test it out! Really appreciate your help!!! Ill test it out as soon as i get a new PSU. Ill post my results! Thank you so much!!!
Title: Re: Y axis won't move in Job Step but work fine in Continous Mode?
Post by: andros on September 21, 2013, 06:04:56 PM
Just to confirm: my xml is weird and by recreating it from scratch might fix it?
Title: Re: Y axis won't move in Job Step but work fine in Continous Mode?
Post by: Hood on September 21, 2013, 07:41:40 PM
Better wait until you see if it works for you :)

Hood
Title: Re: Y axis won't move in Job Step but work fine in Continous Mode?
Post by: andros on September 26, 2013, 07:04:08 PM
I figured it out!!!! It was in Ports and Pins. I needed to tick Step Low Active in the Y-axis. Bingo.