. .
Page 2 of 2 FirstFirst 12
  1. #11
    I have the auto tool zero function working.

    Just struggling to set up the location, but that would all be fantastic.

    Thankyou.

  2. #12
    Neale's Avatar
    Lives in Plymouth, United Kingdom. Last Activity: 3 Hours Ago Has been a member for 7-8 years. Has a total post count of 1,592. Received thanks 286 times, giving thanks to others 10 times.
    So, this doesn't do exactly what you need, but it might help a bit.

    toolchange macros.zip

    I suspect that what you need is something like:

    code "g53 g0 x[your tool change X] y[your tool change Y]"

    somewhere near the top of your tool height set macro. Note the G53 - this is important as it means "use coordinates on this line as machine, not work, coordinates"

    Can you post your tool height set macro?

  3. #13
    Quote Originally Posted by Neale View Post
    So, this doesn't do exactly what you need, but it might help a bit.

    toolchange macros.zip

    I suspect that what you need is something like:

    code "g53 g0 x[your tool change X] y[your tool change Y]"

    somewhere near the top of your tool height set macro. Note the G53 - this is important as it means "use coordinates on this line as machine, not work, coordinates"

    Can you post your tool height set macro?
    Hello Neale, I have sent you a email directly to you.

    Regards,

    Tim

  4. #14
    Quote Originally Posted by Neale View Post
    So, this doesn't do exactly what you need, but it might help a bit.

    toolchange macros.zip

    I suspect that what you need is something like:

    code "g53 g0 x[your tool change X] y[your tool change Y]"

    somewhere near the top of your tool height set macro. Note the G53 - this is important as it means "use coordinates on this line as machine, not work, coordinates"

    Can you post your tool height set macro?
    AUTO TOOL ZERO SCRIPT:-


    FeedCurrent = GetOemDRO(818) 'Get the current settings, OEM DROs (818)=Feedrate DRO
    ZCurrent = GetOemDro(802) 'OEM DROs (802)=Z DRO
    GageH = GetOEMDRO(1001) 'OEMDRO(1001)=Gage Block Height
    ZNew = ZCurrent - 300 'probe down 20 mm

    Code "G90F500" 'slow feed rate to 100 MM/MIN
    Rem Code "G4 P1" 'Pause 1 second to give time to position probe plate
    Code "G31 Z" &ZNew
    While IsMoving()
    Sleep(10)
    Wend
    Call SetDro (2,GageH) 'DRO(2)=Z DRO

    FinalMove = GageH + 10
    Code "G0 Z" &FinalMove
    Code "F" &FeedCurrent 'restore starting feed rate dr.lin 2009.10.16

  5. #15
    This thread can be closed now.

    All resolved thanks to Mr Neale.

    Thank you again for all your guidance.

    Tim

  6. #16
    This thread can be closed now.

    All resolved thanks to Mr Neale.

    Thank you again for all your guidance.

    Tim

  7. #17
    Atila's Avatar
    Lives in Ahvaz, Canada. Last Activity: 2 Weeks Ago Has a total post count of 1.
    Hi
    I want to enable automatic tool change in Mach3 but I do not know how and where to start
    Can you help me?

  8. #18
    Neale's Avatar
    Lives in Plymouth, United Kingdom. Last Activity: 3 Hours Ago Has been a member for 7-8 years. Has a total post count of 1,592. Received thanks 286 times, giving thanks to others 10 times.
    Personally, I would start with googling for "mach3 auto tool change macros"! That should give you some ideas.

    BUT - every machine is different, so needs different macros. Do you have a carousel or tool rack? Fixed or moving rack? Auto draw bar - how is it controlled? What are the locking mechanisms on a carousel? And that's just for starters. What motion controller are you using? How many inputs/outputs? Does it have PLC capability?

    This is non-trivial. Not necessarily difficult if you understand all the bits - mechanical, electronics, software - but a whole different ball game compared to the tool height setting macro that was the original topic.

    Good luck...

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 4 users browsing this thread. (0 members and 4 guests)

Similar Threads

  1. Manual Tool Change
    By Kev2960 in forum General Discussion
    Replies: 11
    Last Post: 24-10-2017, 09:11 AM
  2. WANTED: Coventry easy change tool holders
    By Benja in forum Items Wanted
    Replies: 0
    Last Post: 01-07-2017, 01:04 AM
  3. Ignoring tool change
    By dudz in forum Machine Discussion
    Replies: 6
    Last Post: 15-02-2014, 05:34 PM
  4. Mach3 Tool Change Position
    By Mad Professor in forum Artsoft Mach (3 & 4)
    Replies: 7
    Last Post: 15-07-2013, 05:54 PM
  5. WANTED: Tool holders for T2 (I think) quick change toolpost
    By Jonathan in forum Items Wanted
    Replies: 22
    Last Post: 07-05-2011, 09:30 AM

Bookmarks

Posting Permissions

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