Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: euro on June 30, 2008, 08:02:57 PM

Title: z-axis problem
Post by: euro on June 30, 2008, 08:02:57 PM
hi folks,im new here.im having a problem with mach3. when i zero my x axis and then i jog it up by say .378 it moves 3.78 on the dro so when i run code i dont get the right depths any ideas thanks
Title: Re: z-axis problem
Post by: Chaoticone on June 30, 2008, 08:06:00 PM
Sounds like your steps per aren't set right in motor tuning or maybe you have changed the drive from 10 mirosteps to no micro steps. Is this a new set up?

Brett
Title: Re: z-axis problem
Post by: euro on June 30, 2008, 08:12:35 PM
thanks brett for your quick respond . no this isnt a new setup it was workin fine on friday but today its got the monday blues , this machine is a plasma/router table when i run it in plasma everythin is fine but not in routerin
Title: Re: z-axis problem
Post by: euro on June 30, 2008, 08:14:28 PM
where do you find the microsteps in mach
Title: Re: z-axis problem
Post by: Chaoticone on June 30, 2008, 08:16:05 PM
OK, you are running 2 different profiles?  Have a look at motor tuning, steps per for each profile if you are and compare the z axis steps per.

Brett
Title: Re: z-axis problem
Post by: Chaoticone on June 30, 2008, 08:16:52 PM
Micro steps arent set in Mach and if all the hardware is the same between the set ups, it will be a config. issue.

brett
Title: Re: z-axis problem
Post by: Overloaded on June 30, 2008, 08:20:29 PM
Hi..maybe a 10:1 Scaling inadvertantly set ?
Title: Re: z-axis problem
Post by: euro on June 30, 2008, 08:24:02 PM
yes im runnin two profiles and i did check moter tunning and there the same in both profiles. i dont have config issue on my screen
Title: Re: z-axis problem
Post by: euro on June 30, 2008, 08:26:00 PM
sorry brett i see what you ment its a config issue
Title: Re: z-axis problem
Post by: euro on June 30, 2008, 08:29:04 PM
were in mach would a 10;1 issue happen
Title: Re: z-axis problem
Post by: Chaoticone on June 30, 2008, 08:42:56 PM
Yup, Overloaded is right I bet. Do you have any scaleing values in your scaleing dros? Small dros just beside the axis dros on the program run screen. Should be 1:1.

Brett
Title: Re: z-axis problem
Post by: euro on June 30, 2008, 08:51:20 PM
i bet i do never notice ill have to run to the shop and see the people where i bought made there own screen so it is diferent than the default screens thanks for your help ill get back and post my findings
Title: Re: z-axis problem
Post by: euro on June 30, 2008, 09:25:20 PM
no i dont have scaling dros is there somewhere in mach where i can scale from
Title: Re: z-axis problem
Post by: Chaoticone on June 30, 2008, 10:59:11 PM
euro,
   Can you post your xml files and your screen sets? I will look at those and try to find the problem.

Brett
Title: Re: z-axis problem
Post by: Overloaded on June 30, 2008, 11:06:21 PM
You might enter a G50 in the MDI to be sure all scaling is cancelled and reset to 1:1, then try the move again.
RC
Title: Re: z-axis problem
Post by: euro on June 30, 2008, 11:08:29 PM
thanks a lot for your help i got a hold of tec support and he thinks i must of typed in 2000 instead of 20000 steps under moter tunning ill double chek that in the morning agian thanks
Title: Re: z-axis problem
Post by: Overloaded on June 30, 2008, 11:13:24 PM
Brett had that nailed for you in the beginning......I didn't realize you had changed stuff.
RC
Title: Re: z-axis problem
Post by: euro on June 30, 2008, 11:29:59 PM
the problem started when i ran a file i got from the vectric forum could it had been what was in the g codes that changed the settins i know i didnt
Title: Re: z-axis problem
Post by: euro on June 30, 2008, 11:36:49 PM
brett also mention microsteps that i might have changed it where do you find the settins for the microsteps so i can also check that thanks
Title: Re: z-axis problem
Post by: Overloaded on June 30, 2008, 11:55:07 PM
Follow these steps..if your steps per is 2000, make it 20000 then be sure to save, then try the Z move again.
Title: Re: z-axis problem
Post by: Chaoticone on June 30, 2008, 11:59:02 PM
Euro, If it is the code that changed it, it would probably be a G20 or a G21 but the ratio isn't 10-1. It will put your machine in Imperial or metric units. Go to MDI and typr in G 20 G 50 and hit enter. Now type G1 X1 F10. Does it travel 1 inch? 

Micro steps are not set in Mach, they would be set on the drives. If you haven't changed anything mechanically, I doubt this is the case. Some drives change this option with dip switches, others with jumpers I think (possibly one fell off due to vibration?) and others aren't adjustable.

Brett
Title: Re: z-axis problem
Post by: Overloaded on July 01, 2008, 12:04:19 AM
I dont know how the G code could change it to where a G50 would not clear it if it was scaled. I'm almost certain that it would not change the configuration settings in Mach.
Did you CLOSE the G code in Mach before you did the jogging ?
There could be an active G51 in the loaded code...if there is a program loaded.
Anyway, G50 Z.378 in MDI would clear it.....I think,
RC
Title: Re: z-axis problem
Post by: Overloaded on July 01, 2008, 12:17:26 AM
Euro, I see in your first post now ...you said you jogged the X axis UP. I mistook this for the Z axis. Sorry
Good luck guys,
I'll check back tomorrow.

Brett, I just thought we could verify with the steps per setting before going into the hardware panel.
AMF,
RC
Title: Re: z-axis problem
Post by: euro on July 01, 2008, 01:40:43 AM
you were right brett the moter tunning was wrong thanks,everything is good now,back to relax,this is a great forum
Title: Re: z-axis problem
Post by: Chaoticone on July 01, 2008, 02:07:42 AM
No problem, glad you are sorted.  :)

Brett