Hello Guest it is January 18, 2022, 05:30:18 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - MachineMaster

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 »
FAQs / Re: Homing
« on: April 29, 2009, 04:15:13 PM »
In General Conf in the uper right hand corner, set debounce to 2000

General Mach Discussion / Re: Mach3 g-code "if" conditional?
« on: April 28, 2009, 04:51:02 PM »
Ok, just off the top of my head here is a simple one. Set a variable and run a piece of code that many times.

#500 = 5
routine 1 here
#500 = #500-1
M98 P#502
G code routine 2

M500.m1s file goes in macros/your profile and contains

Sub main ()
a = GetVar (500)
If a > 0 Then GoTo set20
GoTo set30
End Sub

General Mach Discussion / Re: Mach3 g-code "if" conditional?
« on: April 28, 2009, 02:18:28 PM »
You can do conditional IF/THEN/ELSE and WHILE in a macro.

OK, I just re read the whole thread and realized that while I was answering the questions, I was not paying any attention to who was posting.

As to the part, unless the flats are already on the part and you just need to clean them up, any where the A axis stops should be fine for the first cut then rotate 1/2 turn for the second cut.

Bill C. is probably off to a Blacksmith event.

In any case, thank for explaining the linear thing. I already knew "what has been meant" by that and I'm sure it works well for some. It just does not interest me as I work in azimuth mostly so it would be an unnecessary conversion back and forth, and would compromise absolute positioning that I need.

If you need to preserve the 360 deg aspect for resolution, just set the axis to linear by un-checking A axis angular box and set steps per to the current amount divided by 360.
Then G0 A1.0 would give you a 1 degree move. G0 A3600.0 would give 10 revolutions. No calculations.

I came into this thread late and didn't realize it had been Hi-Jacked. If you need more help, start a new thread.

A axis in linear mode would fix that. You may have to change the rotational settings in general config also.

If you are threading, Why is Y changing directions?

As to the tool crashing, can you post something showing the fixture so we can see what you are trying to avoid?

You could set A axis to linear. then set the number of steps for one revolution to one inch. then a command
G01 A36 X1
should give 36 threads per inch. 

To set the A axis to machine zero all you have to do is put


in a macro and any time it is called A axis will be set to machine zero.

Another way would be to just program the moves you want in your G code file.

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 »