Results 1 to 5 of 5

Thread: Just when I though I had it figured out.....

  1. #1
    Registered
    Join Date
    Oct 2007
    Location
    USA
    Posts
    142
    Downloads
    0
    Uploads
    0

    Just when I though I had it figured out.....

    At tool change, the spindle and coolent shut off, but it dosent retract. I have tinkered with the post editor with out any luck.I have included a 2 tool arc and the post commands. I assume the length offsets set at the mill??. what should I change to get the spindle to retract at tool change


    Dim Abs
    Tool# 0
    Rapid Z0.1
    Rapid X0.8251 Y0.
    Tool# 1
    Mcode 3
    RPM1670
    Mcode 8
    Rapid X0.8251 Y0. Z0.1
    Line X0.8251 Y0. Z-0.25 Feed12.
    Arc Ccw X0.8251 Y0. Z-0.25 Radius0.8251
    Rapid X0.8251 Y0. Z0.1
    Mcode 9
    Mcode 5
    0
    Tool# 0
    Rapid
    Rapid X0.7426 Y0.
    Mcode 1
    Rapid
    Tool# 1 2
    RPM3758
    Mcode 3
    Mcode 8
    Rapid X0.7426 Y0. Z0.1
    Line X0.7426 Y0. Z-0.25 Feed12.
    Arc Ccw X0.7426 Y0. Z-0.25 Radius0.7426
    Rapid X0.7426 Y0. Z0.1
    Mcode 9
    Mcode 5
    EndMain




    0. File header

    1. Start of file programmed zero
    absolute_coord
    "Tool# 0"
    rapid_move,force_z,zr
    rapid_move,force_x,xr,force_y,yr
    "Tool# ",first_tool
    spindle_on
    s
    coolant_on

    2. Start of file Standard
    absolute_coord
    "Tool# 0"
    rapid_move,force_z,zr
    rapid_move,xr,force_x,force_y,yr
    "Tool# ",first_tool
    spindle_on
    s
    coolant_on


    3. Tool change
    coolant_off
    spindle_off
    rapid z4.0 (I put in the z4.It goes up, down the stops for the change)
    "Tool# 0"
    rapid_move,force_z,
    rapid_move,force_x,xr,force_y,yr
    optional_stop
    rapid_move,force_z,
    "Tool# 1" t_offset,
    s
    spindle_on
    coolant_on

    4. Null tool change

    5. End of file for non-zero tool
    coolant_off
    spindle_off
    stop

    6. Optional Stop

    7. Sub program call
    "Call ",sub_num

    I use BCC preditor 7.0 and an Anilam3300mk controller
    Thanks
    Matt


  2. #2
    Registered
    Join Date
    Aug 2003
    Location
    United States
    Posts
    449
    Downloads
    0
    Uploads
    0
    You already have the tool in the Rapid clearance position before the Mcode 9, which is why you don't get another clearance move in the tool change.


    Rapid X0.8251 Y0. Z0.1
    Mcode 9
    Mcode 5
    0
    Tool# 0
    Rapid
    Rapid X0.7426 Y0.

    Is there a specific height to which you want the tool to retract?

    Regards


  3. #3
    Registered
    Join Date
    Oct 2007
    Location
    USA
    Posts
    142
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by The One View Post
    You already have the tool in the Rapid clearance position before the Mcode 9, which is why you don't get another clearance move in the tool change.





    Is there a specific height to which you want the tool to retract?

    Regards
    z+5 would be great, but more importantly knowing how to make it do it would be great-er.


    How should I edit the post to get a rapid move to the next position then Z+5 for the change. I put the tool length off sets in the mill, so I assume I dont need to address that in BCC?
    Thanks again for all your help
    Matt


  4. #4
    Registered
    Join Date
    Aug 2003
    Location
    United States
    Posts
    449
    Downloads
    0
    Uploads
    0
    If you need to have the machine move to a specific position so that you can change the tool, I would suggest hard coding the position into your post. Just treat the position as a string in the post. Since you already have the post setup to display all Z moves, it won't really have any negative impact on the posted programs.


    Regards


  • #5
    Registered
    Join Date
    Oct 2007
    Location
    USA
    Posts
    142
    Downloads
    0
    Uploads
    0
    I'll add a "Rapid Z4.0" proir to the tool change in the post?
    I ran Bob all day today with out a hitch.
    Thanks again
    Matt


  • Similar Threads

    1. figured out the hardest part first, now building can begin
      By Hobbiest in forum DIY CNC Router Table Machines
      Replies: 9
      Last Post: 07-24-2004, 03:13 PM
    2. I think I figured it out!
      By chuckknigh in forum DIY CNC Router Table Machines
      Replies: 9
      Last Post: 06-07-2003, 09:42 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.