Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: dart70ca on January 24, 2010, 01:31:07 PM

Title: Coordinate system rotation
Post by: dart70ca on January 24, 2010, 01:31:07 PM
    Does Mach3 support coordinate system rotation? The table on my MDF machine has some tilt to it that I can't remove right now and I would like to run a macro that will tilt the YZ and XZ axes to compensate for the worst of it.

                                                                                                                                                                       Thanks,
                                                                                                                                                                               Keith
Title: Re: Coordinate system rotation
Post by: ger21 on January 24, 2010, 02:52:32 PM
If you want to change the Z depth as you move around the table, you can do that with Formula's.
Title: Re: Coordinate system rotation
Post by: dart70ca on January 24, 2010, 04:11:05 PM
Aha. Had to update my version before I found that.
So, to be clear, if I have +.02" change in Z with 10" of Y travel, I should put a formula in the 'Z' box that reads z = z+(y*.002) or something like that?

                                                                                                                                                                                 Keith
Title: Re: Coordinate system rotation
Post by: BClemens on January 24, 2010, 04:29:30 PM
dart70ca, I have a question...Gerry will help with this too....

In Mach3 on the MDI screen...can't Keith rotate his axis by doing a 'local system rotated" then enter + or - 90 degrees; since Z follows and will remain the same and do what he needs to do?
Title: Re: Coordinate system rotation
Post by: dart70ca on January 24, 2010, 04:39:34 PM
Off the top of my head i would say the the 'Local System Rotated' label refers to the 2 axes specified by G17, G18 or G19 in the program itself. If I set a vise in my machine and either forgot to dial it parallel or had to set it on an angle for some reason and yet still wanted to run my code without modification, I could do that here. Never done it but that's my guess.
I want to compensate for the vertical error in my table in both X and Y and have it done more or less automatically for every program run and without modification of the code.
Title: Re: Coordinate system rotation
Post by: BClemens on January 24, 2010, 04:51:35 PM
Thank you - understand....Good info. You might need to ask more questions here!
Title: Re: Coordinate system rotation
Post by: ger21 on January 24, 2010, 05:36:52 PM

So, to be clear, if I have +.02" change in Z with 10" of Y travel, I should put a formula in the 'Z' box that reads z = z+(y*.002) or something like that?

                                                                                                                                                                                 Keith

Yep, something like that. It may not work when jogging, but works with g-code and MDI moves. I've seen people use it to compensate for out of square gantries.

Be sure to do some testing before using!!
Title: Re: Coordinate system rotation
Post by: dart70ca on January 24, 2010, 06:49:33 PM
   All right. I'll try it. Could you edit the title of all these posts? I spelled 'system' wrong and it's carried on through all these posts...search engine won't pick it up.

                                                                                                                                                  Keith