Hello Guest it is May 23, 2019, 05:23:08 AM

Author Topic: How do I zero Machine Coords for "A-axis"?  (Read 5443 times)

0 Members and 1 Guest are viewing this topic.

Offline Haik

*
  •  71 71
  • Haik
    • View Profile
How do I zero Machine Coords for "A-axis"?
« on: January 03, 2008, 03:16:25 PM »
Hi All,

On the "Settings" tab in Mach3 there's an "Encoder Position" box with "Load DRO", "To DRO", and "Zero" buttons for X, Y, and Z...

These buttons also allow zeroing of "Machine Coords"... How do I zero Machine Coords for "A"?

I've tried a few SetOEMDRO() parameters, but without any luck.  Any help is deeply appreciated.  Thanks!

-Haik

Offline Hood

*
  •  25,811 25,811
  • Carnoustie, Scotland
    • View Profile
Re: How do I zero Machine Coords for "A-axis"?
« Reply #1 on: January 03, 2008, 03:45:04 PM »
If you have Auto Zero enabled for the A axis but dont have a home switch for it I would think clicking the Ref A button would zero it in machine coords..
Hood

Offline Haik

*
  •  71 71
  • Haik
    • View Profile
Re: How do I zero Machine Coords for "A-axis"?
« Reply #2 on: January 03, 2008, 06:18:52 PM »
Nope. still not zero'd, that only zero's it when not on machine coords.

Offline Hood

*
  •  25,811 25,811
  • Carnoustie, Scotland
    • View Profile
Re: How do I zero Machine Coords for "A-axis"?
« Reply #3 on: January 03, 2008, 06:58:07 PM »
Sorry not sure what you mean, are  you saying that if machine coords are viewing in the DRO they dont go to zero when referenced?

Hood

Offline Haik

*
  •  71 71
  • Haik
    • View Profile
Re: How do I zero Machine Coords for "A-axis"?
« Reply #4 on: January 04, 2008, 06:13:18 PM »
Yes.  XY and Z will zero machine coords when "Encoder Position" box with "Load DRO", "To DRO", and "Zero" button are utilized.  I need to do same with A... how do I do that?

Thanks!!

Offline Chip

*
  • *
  •  2,057 2,057
  • Gainesville Florida USA
    • View Profile
Re: How do I zero Machine Coords for "A-axis"?
« Reply #5 on: January 04, 2008, 07:26:39 PM »
Hi, Halk

Have you tried, DoButton( 25 ) on a separate Button to ref A axis.

Added it to my "Home All" Button

DoButton( 24 )
DoButton( 23 )
DoButton( 22 )
DoButton( 25 )

Got to go for now be back soon with some more.

Thanks, Chip

Offline Haik

*
  •  71 71
  • Haik
    • View Profile
Re: How do I zero Machine Coords for "A-axis"?
« Reply #6 on: January 04, 2008, 08:11:59 PM »
Thanks for that, but ref'ing A works fine for it's intended purpose.  I want to "zero" A machine coords without any motion.

My original question:

On the "Settings" tab in Mach3 there's an "Encoder Position" box with "Load DRO", "To DRO", and "Zero" buttons for X, Y, and Z...
These buttons also allow zeroing of "Machine Coords"... How do I zero Machine Coords for "A" in the same manner (without any machine motion)?

I hope the added clarity helps. Thanks!!!

Offline Chaoticone

*
  • *
  •  5,495 5,495
  • Precision Chaos
    • View Profile
Re: How do I zero Machine Coords for "A-axis"?
« Reply #7 on: January 04, 2008, 08:53:52 PM »
hbaba, I think you will have to play with your DRO properties in general config, bottom right. I'm not sure if it will give the desired results you want or not. You may have to add a vb button to your screen and call it ref a or something and have it do an input and set up that input as A home. Might be able to add script to the ref all button? Just thinking out loud.

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Offline Chip

*
  • *
  •  2,057 2,057
  • Gainesville Florida USA
    • View Profile
Re: How do I zero Machine Coords for "A-axis"?
« Reply #8 on: January 04, 2008, 10:24:34 PM »
Hi, Halk
 
That's much better, Machine Coords for "A", Couldn't see the "Bold One", Just missed it.

Guess you have a "A" home switch hooked up, When you doing what ever your doing hear, Why not switch the A Home to "Emulated" in P & Pin's Inputs or a  toggle switch to show it Homed, Then the DoButton( 25 ) on a separate Button to ref A axis would work as long as it's not a Limit SW also.

What I really don't understand is, Why zero one axis Machine Cord, If your cutting something with a 0,0,0,0 start in the g-code and want to move to another location or Zero Your A axis and cut it again you use the Zero All or Zero buttons individually as needed.

Note: It Appears  If you have the Machine Coord"s selected on Program Run Page , The Diagnostic page "Current Position" DRO's and Setting's page "Encoder Position's" DRO's, Don't seem to update as thy should.

I couldn't find any oem code's for A,B,C buttons you were looking for eather.

Just Confused Hear A Little, Chip
« Last Edit: January 04, 2008, 10:34:18 PM by afn09556 »

Offline Chip

*
  • *
  •  2,057 2,057
  • Gainesville Florida USA
    • View Profile
Re: How do I zero Machine Coords for "A-axis"?
« Reply #9 on: February 18, 2008, 12:40:16 AM »
Hi, Halk

You may need to ask Brian to put this on his List, As I sed, Just Confused Hear A Little.

I now this isn't what you want, Sounds like you want to start another cut on your A axis at the original G-code start point or something.

Maybe some Inc G91 for your A axis related moves is needed ?

Something like this.

G90
G00 x0
g01 z -.25 f100
g91
G01 x10 A720 f100
g90
g00 z0
g00 x0
M30
%

Just think about this today.

Thanks, Chip