Hello Guest it is July 21, 2019, 09:33:55 AM

Author Topic: Question on mach  (Read 3101 times)

0 Members and 1 Guest are viewing this topic.

Question on mach
« on: September 19, 2008, 03:11:05 PM »
Hi all.

I have a question regarding mach.

Is it possible to use it as a division program?

thanks

Offline Kristin D

*
  •  203 203
  • Take that you LazyCam, next stop the glue factory!
    • View Profile
Re: Question on mach
« Reply #1 on: September 19, 2008, 03:15:50 PM »
Re: Question on mach
« Reply #2 on: September 19, 2008, 03:41:42 PM »
thanks a lot
Re: Question on mach
« Reply #3 on: September 19, 2008, 04:18:26 PM »
I read the thread and it was helpfull but i still have a question: if on 360 degrees i have 50 division, is it possible that the controller automatically divides the 360 grades in 50 parts and move from one to another one alone?

thanks

Offline Kristin D

*
  •  203 203
  • Take that you LazyCam, next stop the glue factory!
    • View Profile
Re: Question on mach
« Reply #4 on: September 19, 2008, 04:27:31 PM »
Probably best ask that to Ray L. AKA HimyKabibble as he seems to have a grasp on it, I just remembered the thread and thought it was close to what you were asking.

Kristin :)

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Question on mach
« Reply #5 on: September 19, 2008, 04:40:37 PM »
If you had a stepper motor with 200 steps per Rev and the drive was for example 10 micro steps that would mean 2000 steps would do 1 revolution. 1/50th of a revolution would be 2000 steps divided by 50 =40, so if you set the steps per unit in motor tuning as 40 you would get 1/50th of a rev for every unit commanded. EG if you wanted to move to the first index you would command G0A1, if you wanted to move to the 45th division you would command g0a45 etc etc.
 I think my maths are right ;)
Hood
Re: Question on mach
« Reply #6 on: September 21, 2008, 02:14:43 PM »
Ok guys thanks for your help.

I understand you can set the division manually but since the number of division may change isn't there a way that the controller automatically divides them?

thanks

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Question on mach
« Reply #7 on: September 21, 2008, 03:57:47 PM »
You could set up your steps per unit to anything you wanted and then write a wizard that would output the code for different divisions. Would be quite easy to do but would take a bit of thought.
Hood