Page 1 of 2 12 LastLast
Results 1 to 12 of 14

Thread: out of range alarm

  1. #1
    Registered
    Join Date
    Jul 2007
    Location
    USA
    Posts
    19
    Downloads
    0
    Uploads
    0

    Thumbs down out of range alarm

    Hi; I've got a problem with a haas machining center that I have been tasked to edit some code on. At the risk of sounding like a total newbie, I don't know at this minute what model the machine is, as I am sitting at home and the machine is in a shop 2oo miles away. When I get to work today I can find out which model, but I don't have internet access at work and I am hoping someone might make a suggestion before then.
    OK, here is my problem. They have been running this machine in a production enviroment to machine aluminum castings. They have sent the machine to a vendor to have it retrofitted with laser tool-break sensors. We have another machine on which this has already been done, and I am trying to use basically the same code for this one. The machine runs the first tool and then the check code goes like this:
    g80 g53 g0 z0
    g90 g53 x-2.6 y-10.2
    g53 z43.5
    [if #1019 eq 0 goto500] (with 500 being a non-existant line so the machine will fault
    Basically the x-2.6 y-10.2 z43.5 puts the tool in the path of the laser, and if the #1019 doesn't see 0 it faults out the machine.
    The problem is everytime the machine reads this it throws an overtravel range alarm on the x axis and will not move to the location. I can move the spindle to the location in MDI mode with no problem, but it won't go there in auto.
    These same commands supposedly work fine on another machine just like this one, but the guy who wrote the code is no longer available.
    I would add that I know virtually nothing about Haas machines, but I am fairly competent on fanucs


  2. #2
    Registered Donkey Hotey's Avatar
    Join Date
    Nov 2007
    Location
    USA
    Posts
    1,650
    Downloads
    0
    Uploads
    0
    I'm fairly green to this stuff but I'm seeing G53 in your code, not G54. Which work offset are you using?

    < snip >

    Your Z values also say 43 inches. I assume that you know this and it's just a typo. I don't know of any Haas machines with 43 inches of Z travel (or that really is your problem).

    That's my guess. Now somebody will come along an make me look stupid

    edit: yes, somebody came along and made me look stupid.
    I was thinking of G52, not G53. DOH!
    Last edited by Donkey Hotey; 12-06-2007 at 10:57 AM.
    Greg


  3. #3
    Registered
    Join Date
    Oct 2003
    Location
    USA
    Posts
    519
    Downloads
    0
    Uploads
    0
    I think g53 is the machine coordinate system.

    What is the g53 z43.5 line? how much z travel does the machine have?


  4. #4
    Registered
    Join Date
    Sep 2007
    Location
    USA
    Posts
    116
    Downloads
    0
    Uploads
    0
    G53 is machine coordinate.
    On the Haas anyway, the absolute home of 0,0,0 is at the upper right of your table and toolchange position on Z. All machine coordinates are negative from there.
    The 43.5" of Z travel sounds god awful much to begin with, but the definiate problem is that it's positive.


  • #5
    Registered
    Join Date
    Jul 2007
    Location
    USA
    Posts
    19
    Downloads
    0
    Uploads
    0
    Sorry it took so long to reply. I got called out of town unexpectedly. Should have stated up front that the program is metric, so the z 43.5 is millimeters not inches


  • #6
    Registered Donkey Hotey's Avatar
    Join Date
    Nov 2007
    Location
    USA
    Posts
    1,650
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by SeymourDumore View Post
    but the definiate problem is that it's positive.
    If 'tool change' (all the way up) is zero, then a positive 43mm is still out of range. As SeymoreDumore already posted: did you mean Z-43.5?
    Greg


  • #7
    Registered
    Join Date
    Aug 2005
    Location
    USA
    Posts
    578
    Downloads
    0
    Uploads
    0
    In other words, the farthest it can go is G53 Z0.0
    G53 Z43.5 is above the stop. Thus the alarm


  • #8
    Registered
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    11,964
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by PBMW View Post
    In other words, the farthest it can go is G53 Z0.0
    G53 Z43.5 is above the stop. Thus the alarm
    Not necessarily correct. With a carousel changer Z0.0 is the position where the shuttle moves in and the spindle lifts to Z+3.5 or something like that for the tool change. Some machines will actually go up to Z+4.something on the Z. Side mount tool changer machines do not do this because the changer arm drops to pull the tool out.

    EDIT: 43mm is less than 2 inches.
    An open mind is a virtue...so long as all the common sense has not leaked out.


  • #9
    Moderator HuFlungDung's Avatar
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    4,826
    Downloads
    0
    Uploads
    0
    Is this a VMC? When you say you can move to that position in MDI, are you observing the position displays and the machine coordinate readout when you have jogged to that position?

    Apart from that, you could try removing the G90 from in front of the G53, as it serves no purpose. Moves in the machine coordinate system are always absolute moves, and perhaps the presence of the G90 might mess with the command logic somehow. I never tried it
    First you get good, then you get fast. Then grouchiness sets in.

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


  • #10
    Registered
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    11,964
    Downloads
    0
    Uploads
    0
    Just a thought. I guess you typed the lines of code in your post. Are you sure on the machine that the X command is G53 X-2.6? I have made the mistake a few times of doing something like G53 X2.6 and failing to see the missing - for a long time.
    An open mind is a virtue...so long as all the common sense has not leaked out.


  • #11
    Registered
    Join Date
    Sep 2007
    Location
    USA
    Posts
    116
    Downloads
    0
    Uploads
    0
    In metric it is possible to have that 43mm in the positive direction, but is that really the place where the tool sensor is at?


  • #12
    Registered
    Join Date
    Jul 2007
    Location
    USA
    Posts
    19
    Downloads
    0
    Uploads
    0
    yes it is the location of the laser. I was thrown into this deal after the guy who originally was involved refused to have any more to do with it, and the guy on the other end (who wrote the macro arguments) left the company. The problem I have is that the machine is in a vendors shop 150 miles from me.


  • Page 1 of 2 12 LastLast

    Similar Threads

    1. Mid range design #1
      By CNCadmin in forum Open Source CNC Machine Designs
      Replies: 101
      Last Post: 01-23-2011, 11:03 AM
    2. Mid-range first CNC
      By iXô in forum Open Source CNC Machine Designs
      Replies: 14
      Last Post: 09-18-2007, 09:42 PM
    3. Refractometers - What Range to Order
      By bill south in forum General Metalwork Discussion
      Replies: 7
      Last Post: 05-11-2007, 08:56 AM
    4. CNC 35,000 to 50,000 price range
      By deathbot3000 in forum Commercial CNC Wood Routers
      Replies: 16
      Last Post: 11-15-2006, 02:14 PM
    5. Puma 450 gear range?
      By wjbzone in forum Daewoo/Doosan
      Replies: 0
      Last Post: 02-15-2006, 07:15 AM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.