1

**General Mach Discussion / Re: formula not following in G02**

« **on:**December 21, 2010, 06:48:35 AM »

Oh, and thank you both for your help so far.- Adrian

Hello Guest it is September 29, 2022, 03:52:49 AM

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.

Pages: **1**

1

Oh, and thank you both for your help so far.- Adrian

2

Yes, I am very impressed with the program so far. Unfotunaltly the whole machine is predicated around the easy programing. I was only willing to move ahead with it when I saw that you could Jog X- Y in step and MPG and have the Polar machine move in the A-B. I am willing to give precodeing in the compiler a shot. I am using 2dnc and lazycam. I don't see how to do that in either. I have looked a G16. G12.1 and g112. Any thought on what compiler I might try?== Adrian

ps- are the G codes listed in the list you get when you press the G-code button the only ones supported by Mach 3?

ps- are the G codes listed in the list you get when you press the G-code button the only ones supported by Mach 3?

3

Hello All, I am new to cnc and gcode. I am impressed with Mach 3 and the Hobby cnc gear. I am building a custom machine. I am finding that the formulas don't follow the X and Y Axis. The machine has only two axis. A rotary table (A axis) and an linear axis (B axis)on that rotary table(A axis). The tool is on that linear axis( B) and is constrained to a line that passes through the center of the of that rotator (axis A). A axis is the rotate and B axis is the linear arm. X and Y axis are active but are not connected to any motors. This will be a plasma torch. It looks a little like a Banjo. All axis (X Y A B) are homed to the center of the rotory table. It is in the R and D phase.

Idealy it will use just X and Y in the g code.

The formulas are as follows.

Rotate A= arctan(y/x)*57.2957795 ( it took me a bit to understand the default is in Radians. )

Radius on the arm B=((x^2)+(y^2))^.5 ( simple Pythagorean theorem)

For any given point the formulas work great. I have scaled the both axis and they run well, don't lose any steps, and return to home with very little backlash.

When I run gcode. ( my test has be a 5 inch square). I am using 2dnc to generate the gcode. No tooling off set. My machine will draw the square. The corners are square and at right angles. The sides of the squares are cutting as slight arcs. ( Coming off the line .25 or so) All 4 sides of the square have this and the crown is away from the origin. Opposing sides are parallel at the 5 ". I have the same results any place I have where ever I cut this on the table. The A and B axis seem to follow in G00 And G01. with the error mentioned . But will not follow in any G02. The A and B axis just drop out and stop. When the tool path progresses back into G01 after G02, Mach 3 will pick A and B back up ( in the correct coordinates ). If you "Hold the feed " and restart It will move the A and the B. This will only last for that block only. Is this a bug? Is it processing problem in my computer? Is this a ABS or Inc (G90/91) issue. I have tried it both ways. Or even the G90.1/91.1 issue ( I think I have tried all combos)

Here are some questions.

Does any one know why the G02 drops the formulas?

Do formulas process in ABS (Machine Co) ?

Will Mach 3 be able to process the feed rate?

Will I be able to use offsets with this or will Xand Y all ways have to homed at the origin ( center of the the rotate)?

Any thoughts would be helpful-

Idealy it will use just X and Y in the g code.

The formulas are as follows.

Rotate A= arctan(y/x)*57.2957795 ( it took me a bit to understand the default is in Radians. )

Radius on the arm B=((x^2)+(y^2))^.5 ( simple Pythagorean theorem)

For any given point the formulas work great. I have scaled the both axis and they run well, don't lose any steps, and return to home with very little backlash.

When I run gcode. ( my test has be a 5 inch square). I am using 2dnc to generate the gcode. No tooling off set. My machine will draw the square. The corners are square and at right angles. The sides of the squares are cutting as slight arcs. ( Coming off the line .25 or so) All 4 sides of the square have this and the crown is away from the origin. Opposing sides are parallel at the 5 ". I have the same results any place I have where ever I cut this on the table. The A and B axis seem to follow in G00 And G01. with the error mentioned . But will not follow in any G02. The A and B axis just drop out and stop. When the tool path progresses back into G01 after G02, Mach 3 will pick A and B back up ( in the correct coordinates ). If you "Hold the feed " and restart It will move the A and the B. This will only last for that block only. Is this a bug? Is it processing problem in my computer? Is this a ABS or Inc (G90/91) issue. I have tried it both ways. Or even the G90.1/91.1 issue ( I think I have tried all combos)

Here are some questions.

Does any one know why the G02 drops the formulas?

Do formulas process in ABS (Machine Co) ?

Will Mach 3 be able to process the feed rate?

Will I be able to use offsets with this or will Xand Y all ways have to homed at the origin ( center of the the rotate)?

Any thoughts would be helpful-

4

hi- I am brand new to cnc and Mach 3. I am having trouble with the formulas. Moderator, if this should be a new thread let me know. The machine is custom built. It has two axis. No Z. It is going to be a portable cnc plasma. For now it is proof of concept phase. A axis is rotate(rotary table), and B axis is linear on the on top of the rotary table. It looks like a "banjo". The tool is held on the B axis and is constrained to a line that passes through the center of the rotary table.

Right now it is just drawing with a marker on paper.

I want it to run on standard x y gcode. My formulas are as follows.

A= arctan(y/x)*57.2957795

B=((x^2)+(y^2))^.5

It tests fantastic on the test feature on the formulas window.

All four axis (X Y A B) home at the rotary table's center.

I have been using very simple X Y gcode.

A note on something I read in the thread. I found the formulas work in MPG, Gcode, and STEP. Not on Hot keys and buttons.

Here is the problem. My test is a 5"square. I have drawn it at many locations on the table. It is consistent does not lose steps. It draws a complete square and it closes it. The size of the square is good and the corners form a perfect square. The lines that connect the corners are arcs.

If you draw a circle, the machine will drop the A and B axis completely.

I think my formula,s scaling and backlash(lack of) are good, The program seems to get it goofy or drop it completely. I have the problem at all feed rates. It it processing power on my computer?

Any thoughts would be helpful.

Adrian

Right now it is just drawing with a marker on paper.

I want it to run on standard x y gcode. My formulas are as follows.

A= arctan(y/x)*57.2957795

B=((x^2)+(y^2))^.5

It tests fantastic on the test feature on the formulas window.

All four axis (X Y A B) home at the rotary table's center.

I have been using very simple X Y gcode.

A note on something I read in the thread. I found the formulas work in MPG, Gcode, and STEP. Not on Hot keys and buttons.

Here is the problem. My test is a 5"square. I have drawn it at many locations on the table. It is consistent does not lose steps. It draws a complete square and it closes it. The size of the square is good and the corners form a perfect square. The lines that connect the corners are arcs.

If you draw a circle, the machine will drop the A and B axis completely.

I think my formula,s scaling and backlash(lack of) are good, The program seems to get it goofy or drop it completely. I have the problem at all feed rates. It it processing power on my computer?

Any thoughts would be helpful.

Adrian

Pages: **1**