584,812 active members*
5,575 visitors online*
Register for free
Login
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2008
    Posts
    9

    Modified Macros

    Hi Gerry

    Attached are the macros I have modified if you can review and make any changes or recommendations I would appreciate it. This is my first attempt at modifying macros.

    Thanks
    Bill I

    M884

    DoButton( 24 )
    Code "G53 G0 Z-2"
    'While IsMoving()
    'Wend
    DoButton( 23 )
    Code "G53 G0 Y1.25"
    'While IsMoving()
    'Wend
    DoButton(22)
    Code "G53 G0 X4.0"
    'While IsMoving()
    'Wend
    DoOemButton(1008)
    DoOemButton(1009)

    M885

    DoButton(22)
    Code "G53 G0 X4.0"
    DoOemButton(1008)

    M886

    DoButton(23)
    Code "G53 G0 Y1.25"
    DoOemButton(1009)


    M887

    DoButton(24)
    Code "G53 G0 Z-2"
    While IsMoving()
    Wend
    DoOemButton(1010)

  2. #2
    Join Date
    Mar 2003
    Posts
    35538

    Re: Modified Macros

    M884

    DoButton(24)
    DoButton(23)
    DoButton(22)
    Code "G53 G0 X4.0 Y1.25 X-2"
    While IsMoving()
    Wend
    DoOemButton(1008)
    DoOemButton(1009)

    M885

    DoButton(22)
    Code "G53 G0 X4.0"
    While IsMoving()
    Wend
    DoOemButton(1008)

    M886

    DoButton(23)
    While IsMoving()
    Wend
    DoOemButton(1009)


    M887

    DoButton(24)
    Code "G53 G0 Z-2"
    While IsMoving()
    Wend
    DoOemButton(1010)


    Typically, you don't want to zero the axis in the homing macro.

    Normally, if the machine loses position, you can home it to get position back, and continue.
    When you zero the axis after homing, you can no longer do this, as you then need to "find" your origin again.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

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

Similar Threads

  1. Need some pins modified.
    By mrquacker in forum North America RFQ's
    Replies: 1
    Last Post: 03-10-2014, 08:23 PM
  2. Modified cnc 3020
    By BOATDUDEGUY in forum DIY CNC Router Table Machines
    Replies: 0
    Last Post: 08-02-2013, 01:17 PM
  3. Another modified Momus
    By skylanehku in forum Momus Design CNC plans
    Replies: 2
    Last Post: 05-30-2013, 11:58 AM
  4. G76 Modified Threading
    By lathe_man in forum Hardinge Lathes
    Replies: 0
    Last Post: 04-29-2010, 12:25 PM
  5. Another modified Joe's 2006 CNC
    By DeWalt58 in forum Joes CNC Model 2006
    Replies: 85
    Last Post: 03-20-2008, 10:44 AM

Tags for this Thread

Posting Permissions

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