Problem Z axis move before X,Y


Results 1 to 13 of 13

Thread: Z axis move before X,Y

  1. #1
    Registered
    Join Date
    Jul 2013
    Posts
    12
    Downloads
    0
    Uploads
    0

    Default Z axis move before X,Y

    Hello,

    I run a Haas GR712 and the ATC is fairly low. I wanted to change my post to allow a G28 Z0., after a tool change, first before the G17 X,Y rapid to my start location to avoid hitting my table, clamps, etc... However I am new to editing posts and am not entirely sure how to go about this. I am using X6 and can email my current post to whomever is willing to help.

    Thank you,
    Chad

    Similar Threads:


  2. #2
    Registered Bm150's Avatar
    Join Date
    May 2012
    Location
    Enland
    Posts
    180
    Downloads
    0
    Uploads
    0

    Default Re: Z axis move before X,Y

    I'm happy to help.



  3. #3
    Registered
    Join Date
    Jul 2013
    Posts
    12
    Downloads
    0
    Uploads
    0

    Default Re: Z axis move before X,Y

    Thank you. Here is the current configuration of a program

    O0
    G21
    G0G17G40G49G80G90
    ( 1" FLAT ENDMILL)
    (ROUGH OD)
    T1M6
    G0G90G54X280.4Y6.35S400M3
    G43H1Z25.
    ---
    ---
    ---
    G0Z25.
    M5
    G91G28Z0.M9
    M01

    I am assuming I need to have a G91G28Z0. after the G21 line. I have looked though the post and am not sure where I need to insert the line. The post is just a modifed version of the generic haas post for mastercam.

    Attached Files Attached Files


  4. #4
    Registered Bm150's Avatar
    Join Date
    May 2012
    Location
    Enland
    Posts
    180
    Downloads
    0
    Uploads
    0

    Default Re: Z axis move before X,Y

    Ok, do you need it on every till change or just the first tool?



  5. #5
    Registered
    Join Date
    Jul 2013
    Posts
    12
    Downloads
    0
    Uploads
    0

    Default Re: Z axis move before X,Y

    All tool changes. If you could PM me the details of what you need to do I would like to learn.

    Thanks



  6. #6
    Registered Bm150's Avatar
    Join Date
    May 2012
    Location
    Enland
    Posts
    180
    Downloads
    0
    Uploads
    0

    Default Re: Z axis move before X,Y

    Do you get errors when you post your gcode?



  7. #7
    Registered
    Join Date
    Jul 2013
    Posts
    12
    Downloads
    0
    Uploads
    0

    Default Re: Z axis move before X,Y

    I get little squares in some places that I just delete. The guy who originally edited the post told me to do that and I haven't had any problems. All I have done to the post was edit where it inputs the company name - part number and (Haas Post Edited by Chad Bakken). When it comes to editing a post I really don't know what I am doing. I have a different post for a Fanuc-OM control that a different person edited for me and I have never had any problems or errors with that one.



  8. #8
    Registered Bm150's Avatar
    Join Date
    May 2012
    Location
    Enland
    Posts
    180
    Downloads
    0
    Uploads
    0

    Default Re: Z axis move before X,Y

    What version of mcam you using?



  9. #9
    Registered
    Join Date
    Jul 2013
    Posts
    12
    Downloads
    0
    Uploads
    0

    Default Re: Z axis move before X,Y

    X6 Level 1 w/o solids



  10. #10
    Registered Bm150's Avatar
    Join Date
    May 2012
    Location
    Enland
    Posts
    180
    Downloads
    0
    Uploads
    0

    Default Re: Z axis move before X,Y

    Ok. So lots of things within fixed. Looks like someone started to add things like tool tables and not really finished it. But I've put right what I can see.

    As for the g91 g28 z0.
    Would this be better after the m6.

    What happens on the machine at the line with g17 in?



  11. #11
    Registered
    Join Date
    Jul 2013
    Posts
    12
    Downloads
    0
    Uploads
    0

    Default Re: Z axis move before X,Y

    Nothing happens at the first two lines of code. The first move is on the g91 g54 g00 x... y... line after the tool change.

    Having the g91 g28 z0. Would need to be between that line and the m6 line.

    If you don't mind could you tell what else was wrong with the post? Like I said, I'm new to editing.

    Thank you



  12. #12
    Registered Bm150's Avatar
    Join Date
    May 2012
    Location
    Enland
    Posts
    180
    Downloads
    0
    Uploads
    0

    Default Re: Z axis move before X,Y

    https://drive.google.com/file/d/0B2E...it?usp=sharing

    This is a link to the .PST i have edited.

    if you search for "BM" you will find the code for the retracting after tool change.
    As for the other parts. Basically every variable needs to be defined within the post (unless its a variable from MCam its self),
    Some of these definitions where missing, and although it ran without serious error this is only because the were not being used.
    Its only because X7 updated it and found all the undefined bits.
    And there may be more that i have not found so take your time with it to start with.

    cheers ben



  13. #13
    Registered
    Join Date
    Jul 2013
    Posts
    12
    Downloads
    0
    Uploads
    0

    Default Re: Z axis move before X,Y

    Thank you very much. I really appreciate it. This will make my life easier.



Posting Permissions

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


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Z axis move before X,Y

Z axis move before X,Y