Results 1 to 9 of 9

Thread: code question on haas sl40

  1. #1
    Registered
    Join Date
    Sep 2006
    Location
    usa
    Posts
    23
    Downloads
    0
    Uploads
    0

    code question on haas sl40

    ive got a night shift guy who doesnt really know g codes that well. he was messing around with a program i set him up on and had a crash. no big deal. he explained that all his tools suddenly shifted on the x axis by a few inches.
    i think what he was trying to write was something like this:

    G97 S300

    he was trying to make his spindle turn faster after an
    M00 to sand the part. then when he hit cycle start thats when he had the crash.

    can anyone tell me if there is a code he could have written by accident to offset X tool offsets?


  2. #2
    Registered WOLOG's Avatar
    Join Date
    Oct 2003
    Location
    HOUMA,LA
    Posts
    352
    Downloads
    0
    Uploads
    0
    Why don't you post the program that he was running. I can't think of something that would cause a crash as you described. I always use spindle forward to polish a part. It sounds like he went to the MDI page and typed in G97 s300 and started the program without a reset. That may have caused a problem. Is the machine setup for "program restart" or not? Some more info might help

    Wolog


  3. #3
    Registered
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    11,961
    Downloads
    0
    Uploads
    0
    G97 S300??? Cancel constant surface speed. Are you sure he did not enter G50 S300 along with some coordinates in the same block. This will shift the axes.


  4. #4
    Registered CNCRim's Avatar
    Join Date
    Feb 2006
    Location
    usa
    Posts
    949
    Downloads
    0
    Uploads
    0
    yeah!!!! I agree with Geof. The only G50 X.xxx Z.xxx and G91 & G21 or G20 I can thinking of make machine move.
    The best way to learn is trial error.


  • #5
    Registered
    Join Date
    Sep 2006
    Location
    usa
    Posts
    23
    Downloads
    0
    Uploads
    0
    we use G97 so we can spin it faster. usually we are parting off so the surface footage is below 400. it was a large part. whatever he wrote in he erased after the crash.

    so if he wrote in a G50 with a Xxxx on the same line, that probably did it?

    thanks for your help.


  • #6
    Registered
    Join Date
    Jun 2006
    Location
    USA
    Posts
    12
    Downloads
    0
    Uploads
    0

    Proper operation

    The proper way to polish something on a Haas machine would be to put the machine in HAND JOG mode and press the SPindle forward or reverse button. This will run the chuck at the last programmed speed which hopefully was a G97. You do not want to send the machine home in X with a G96 active. Once the spindle is turning you can speed up the spindle with the overrides button that goes up to 200 percent. If by chance you were limited to a slow speed by a G50 in the program, cancel it by entering G50 and the MAx speed you want to run at for safety and followed on the next line by a G97 and the speed you want to run the spindle at. This might be somewhat confusing for some users but feel free to contact me directly and I will be more than glad to be of assistance.

    Regards,


  • #7
    Registered
    Join Date
    Sep 2006
    Location
    usa
    Posts
    23
    Downloads
    0
    Uploads
    0
    i understand everything except the part about sending the machine home in X with a G96 active. could you explain that for me.
    thanks for your help.


  • #8
    Registered
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    11,961
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by rusticr6 View Post
    i understand everything except the part about sending the machine home in X with a G96 active. could you explain that for me.
    thanks for your help.
    I think this is because sending the machine home is equivalent to moving X to a large diameter; if you still have G96 active the spindle slows way down


  • #9
    Registered
    Join Date
    Jun 2006
    Location
    USA
    Posts
    12
    Downloads
    0
    Uploads
    0

    G96

    Yes, our colleague above is correct. Since G96 is a command to mantain constant surface speed it will slow down or speed up the spindle as you move along the X axis. I reccomend turning on G96 only when you are ready to start a cut and you are already at the starting point.

    Regards,


  • 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.