Need Help! Modified Macros


Results 1 to 2 of 2

Thread: Modified Macros

  1. #1
    Registered
    Join Date
    Oct 2008
    Location
    USA
    Posts
    9
    Downloads
    0
    Uploads
    0

    Default 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)

    Similar Threads:


  2. #2
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default 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
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

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

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


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
  •  


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

Modified Macros

Modified Macros