Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 12:23:42 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  Question about XY compensation under mach3 with formula
Pages: 1   Go Down
Print
Author Topic: Question about XY compensation under mach3 with formula  (Read 245 times)
0 Members and 1 Guest are viewing this topic.
rdpdo
Active Member

Offline Offline

Posts: 12


View Profile
« on: July 30, 2011, 08:29:10 AM »

Hi,

I saw somewhere that it is possible to compensate the squarness under mach3 using formula :

Quote
For example, if your Y axis is tilted to the right by 0.003"/inch, you could enter a formula like this:

X = X - (Y * 0.003)
Y = Y

On a "straight" machine, when you tell Mach3 to move from Y0.000 to Y1.000, Y will move 1.000", and X will not move at all.  On this hypothetical crooked machine, that same move will cause Y to move 1.000", but X will also move to the right, off-true, by 0.003", due to the error in the machine.  Entering the above formula un-does this error.  So, now when you command a move from Y0.000 to Y1.000, Mach will actually do a two-axis move, from X0.000, Y0.000 to X-0.003, Y1.000, "un-doing" the error in the machine.

My question is : Does this compensation methode work with all sort of form (circle, ....) or only for rectangular forms ?

Thanks you for your help.
Regards.
Logged
ger21
Global Moderator
*
Offline Offline

Posts: 2,619



View Profile WWW
« Reply #1 on: July 30, 2011, 08:53:35 AM »

It should work with any g-code.

However, it doesn't work when jogging, which can cause problems. After a jog, a g-code move will cause the axis to try to instantly move to the calculated position, possible causing lost steps.


* formulax.jpg (233.49 KB, 1023x730 - viewed 39 times.)
Logged

rdpdo
Active Member

Offline Offline

Posts: 12


View Profile
« Reply #2 on: July 30, 2011, 09:13:32 AM »

Thanks you Wink

Logged
Sargon
Active Member

Offline Offline

Posts: 99


View Profile
« Reply #3 on: August 01, 2011, 04:44:09 AM »

Also, if the formula causes a large correction, watch the first move of the machine when you start a program. On my router it would hammer the motors at full accel just before executing the first move, not enough to lose steps, it was just quite harsh! I did have a fairly large error on my table at the time, though.

One other caveat is if you rotate the system (G68 or "Rotate Local System") and then feedhold, when you click cycle start again it will attempt to move to where the next co-ordinates would be if the system wasn't rotated. It will not lift Z first - if the bit is down it will rip through your part. To avoid this, i would feedhold, cycle stop, set next line, then I was OK to hit cycle start.

It sucks that such a powerful function is broken... maybe Mach4 will fix it?!?! I eventually squared the table up better, but it would be nice to get rid of the length issue (my table cuts slightly longer towards one end of my Y axis - slight mechanical misalignment of the gantry rails allowing the gantry to pivot a bit - need a double-screw setup!). It's almost square now, so I can get away with it without any further corrections.
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!