Hello Guest it is October 23, 2019, 02:51:00 PM

Author Topic: Coordinate system rotation  (Read 3021 times)

0 Members and 1 Guest are viewing this topic.

Coordinate system rotation
« 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
« Last Edit: January 24, 2010, 07:01:42 PM by ger21 »

Offline ger21

*
  • *
  •  6,288 6,288
    • View Profile
    • The CNC Woodworker
Re: Coordinate system rotation
« Reply #1 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.
« Last Edit: January 24, 2010, 07:02:07 PM by ger21 »
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Coordinate system rotation
« Reply #2 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
« Last Edit: January 24, 2010, 07:02:24 PM by ger21 »
Re: Coordinate system rotation
« Reply #3 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?
« Last Edit: January 24, 2010, 07:02:40 PM by ger21 »
Re: Coordinate system rotation
« Reply #4 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.
« Last Edit: January 24, 2010, 07:03:06 PM by ger21 »
Re: Coordinate system rotation
« Reply #5 on: January 24, 2010, 04:51:35 PM »
Thank you - understand....Good info. You might need to ask more questions here!
« Last Edit: January 24, 2010, 07:03:28 PM by ger21 »

Offline ger21

*
  • *
  •  6,288 6,288
    • View Profile
    • The CNC Woodworker
Re: Coordinate system rotation
« Reply #6 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!!
« Last Edit: January 24, 2010, 07:03:40 PM by ger21 »
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Coordinate system rotation
« Reply #7 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
« Last Edit: January 24, 2010, 07:03:50 PM by ger21 »