584,812 active members*
5,304 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Benchtop Machines > Mach3 G54 Zeroing in Negitive direction
Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2004
    Posts
    29

    Mach3 G54 Zeroing in Negitive direction

    Hi All, especially the seasoned CNCers,

    I have A home build Grizzly Mini Mill with Gecko controller and Mach3 software. All was going well until I started using G59 to set tool Offset and G54 to set Work Offsets X + Gage, Y + Gage and Z + Gage. I presently am using a Non inverting X, and inverting Y and a Non-inverting Z port/pin setting in Mach3.

    Background:
    When I press the "Page Down" button, the Head goes towards the table. I think this is correct as Mach3 Zeros the Z axis.

    When I press the "Left Arrow" button, the table goes in the Left or -X direction. I think this is also correct as Mach3 zeros the X axis.
    When I press the "Up Arrow" button, the table goes in the +Y direction (into the Head). I think this is correct as Mach3 zeros the Y axis.

    If this is not correct or what you use, Please respond with correction!

    Here is my problem:
    When I push "REF ALL HOME", the mill goes to (0,0,0) correctly.
    When I set a G59 X,Y and Z, X is set to Some value, Y is set to some value and Z is set to some value (depends on when Tool Touch off is located). I save Work Offsets (or think I do) and exit Mach3. The values are lost and must be redone each time (Contrary to what I read on the screens which says "Make them permanent").
    So I don't exit Mach3.
    Instead, I set Part X to Gage thickness + X in the most Left position with work on the RIGHT (positive X direction). I believe the is X0 + Gage and G54 X is set to Gage thickness.
    Next, I set Part Y to the closest to Y zero position with the work in the direction of +Y. I believe this is Y0 + Gage position.
    Then I set Z to Top of Part + Gage.

    At this point X = 0.0632, Y = 0.0632 and Z= 0.0016.

    All looks great to me. At this point I save both Work Offset and Tool Offsets as I think they are correct. I then go to MIDI tab and enter "G0G90G54X0Y0" and the table moves in the -X and -Y direction by the value in G54 table (-0.0632, -0.0632) which doubles the offset to -0.125, -0.125. Very aggravating.

    This is where I need help! The table should go to (0, 0) but instead goes to ( -0.125, -0.125). THIS IS MY PROBLEM!

    Other information:
    I have used the Port Pin assignment to invert the X and Y Direction. When I do this, the Mill zeros the part correctly but the Mill goes in the wrong direction to Reff All Home so is incorrectly set up.

    Really need help so I've attached my NC file and my BobCAD-CAM Pat file.The attached file Grizzly... No-ATC is the BobCAD-CAM file and the Presentation... file the result nc file for Mach3.

    I don't know if the values are off for the NC file and that isn't really an issue, I just included them for completeness.

  2. #2
    Join Date
    Mar 2003
    Posts
    35538

    Re: Mach3 G54 Zeroing in Negitive direction

    When I press the "Left Arrow" button, the table goes in the Left or -X direction. I think this is also correct as Mach3 zeros the X axis.
    When I press the "Up Arrow" button, the table goes in the +Y direction (into the Head). I think this is correct as Mach3 zeros the Y axis.
    These are backwards. The jog arrows should be the tool movement, not the table movement.
    Left Arrow would be the tool moving left, with the X axis DRO counting down. (Table moving Right)
    Up Arrow would be the tool moving back, with the Y axis DRO counting up. (Table moving towards you.)
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

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

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  3. #3

    Re: Mach3 G54 Zeroing in Negitive direction

    Are you confusing absolute coordinates with work offsets? When you go to the stock and set G54 (or G59, 58, 56, 57, 55) you should zero X,Y,Z. Your CAM work offset 0 is usually something you can reference on the stock. When you go to a second part you would then use G55 and up. The machine absolute coordinates are whatever, your program reads your work offsets. So that small error you are seeing seems to be related to absolute coordinates to me. 0,0,0 is not established for G54 after reference, you establish G54 at the stock. A wobbler or touch probe is used for this. Absolute coordinates are relevant, but not to what you are doing. If you set work offsets to zero, even if your machine is moving in the wrong direction (Ger is right), the machine will still go to 0,0,0 and start machining, though it may head the wrong way off the stock.

    You can also change your homing direction under the config. So get your arrows working as Ger says. Then in the homing menu you can change which way it homes, it's really up to you which way it homes/references. I like my table to home Y+ and X- with the Z at near maximum Z+. Why? It makes it easy to change fixtures, fixture parts, and changes tools after it's referenced (and homed because my machine does both in that op). Lot's of people like to home/reference in different ways, manual machinists generally like their table to be at X center and Y center.

  4. #4
    Join Date
    Oct 2004
    Posts
    29
    Quote Originally Posted by ger21 View Post
    These are backwards. The jog arrows should be the tool movement, not the table movement.
    Left Arrow would be the tool moving left, with the X axis DRO counting down. (Table moving Right)
    Up Arrow would be the tool moving back, with the Y axis DRO counting up. (Table moving towards you.)
    Thank you. That might be the problem that has plagued me foe a while. I'll change the homing to the other direction (after mounting more limit switches) and see what happens.

    Thank you for you're reply.

  5. #5
    Join Date
    Oct 2004
    Posts
    29

    Re: Mach3 G54 Zeroing in Negitive direction

    Quote Originally Posted by CL_MotoTech View Post
    Are you confusing absolute coordinates with work offsets? When you go to the stock and set G54 (or G59, 58, 56, 57, 55) you should zero X,Y,Z. Your CAM work offset 0 is usually something you can reference on the stock. When you go to a second part you would then use G55 and up. The machine absolute coordinates are whatever, your program reads your work offsets. So that small error you are seeing seems to be related to absolute coordinates to me. 0,0,0 is not established for G54 after reference, you establish G54 at the stock. A wobbler or touch probe is used for this. Absolute coordinates are relevant, but not to what you are doing. If you set work offsets to zero, even if your machine is moving in the wrong direction (Ger is right), the machine will still go to 0,0,0 and start machining, though it may head the wrong way off the stock.

    You can also change your homing direction under the config. So get your arrows working as Ger says. Then in the homing menu you can change which way it homes, it's really up to you which way it homes/references. I like my table to home Y+ and X- with the Z at near maximum Z+. Why? It makes it easy to change fixtures, fixture parts, and changes tools after it's referenced (and homed because my machine does both in that op). Lot's of people like to home/reference in different ways, manual machinists generally like their table to be at X center and Y center.
    Nope, not confusing absolute or machine offsets with Work Offsets. As Ger said, my X movement and Y movement was set backwards or in the wrong direction.

    I changed the direction and ran the .nc file in air cut and it looks good. At present I no longer have X-Home and Y-Home limit switches but they are on order.

    I ran a dirty X,Y,Z home this morning and everything looks good. A few days of work and I'm good to go.

    Thank you for your thoughtful reply.
    CES

  6. #6

    Re: Mach3 G54 Zeroing in Negitive direction

    Just home to your XYZ limits.

Similar Threads

  1. Mach3 is moving in the opposite direction
    By maly-miller in forum Mach Mill
    Replies: 3
    Last Post: 03-04-2014, 03:00 PM
  2. Erratic direction changes in mach3 lathe
    By GF12 in forum Mach Lathe
    Replies: 0
    Last Post: 02-17-2013, 05:29 PM
  3. Direction output inverted in Mach3 R3.041
    By kreutz in forum Machines running Mach Software
    Replies: 13
    Last Post: 07-22-2010, 01:18 AM
  4. A3977/Mach3 Direction changes randomly
    By kiltjim in forum Open Source Controller Boards
    Replies: 9
    Last Post: 12-09-2007, 03:04 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •