586,745 active members*
6,032 visitors online*
Register for free
Login
Results 1 to 19 of 19

Hybrid View

  1. #1
    Join Date
    Mar 2003
    Posts
    35538

    Re: need a basic m6 start macro

    What you're asking for would be better handled by your post processor, as you're not doing anything that really requires the M6Start macro.

    I would like to have it G53 -4" (from Zhome limit(
    This is a simple "G53 G0 Zxx" move
    Ask for tool change with message
    change T#@m6 command
    All you need is a T# M6 in your g-code, and Mach3 will stop and wait for you to press Cycle Start to continue.
    Change H#@43 command
    You're next line of g-code should be G43 H#

    Drive back down to last retract in program prior to the tool change .
    Just add another line of g-code to move to where it was. This may be the only tricky part.
    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)

  2. #2
    Join Date
    Feb 2015
    Posts
    174

    Re: need a basic m6 start macro

    The M6 on that fanuc does many things as well as stopping the spindle, coolant, moving head to tool change position, I use the macro to additionally add a few tweaks I may use daily without having to think about them. I am still confused as to how your using them.

    off the top of my head:

    O0013;
    T1 M6;
    N1 M1;
    G56 X0 Y0 S1250 M3;
    G43 H1 Z1. M8;
    G81 Z-.06 R.05 F1.;
    G80 M9;
    T2 M6;
    N2 M1;
    etc...

    Simple spotting cycle.

    Hope i'm helping

  3. #3
    Join Date
    Feb 2011
    Posts
    212
    Quote Originally Posted by ger21 View Post
    What you're asking for would be better handled by your post processor, as you're not doing anything that really requires the M6Start macro.



    This is a simple "G53 G0 Zxx" move


    All you need is a T# M6 in your g-code, and Mach3 will stop and wait for you to press Cycle Start to continue.


    You're next line of g-code should be G43 H#



    Just add another line of g-code to move to where it was. This may be the only tricky part.
    Will try that . I don't have any support with my software so that's out if the question. And I'm not real good with my post processor either. But I can manually do it (but that was the whole point of a macro)
    I guess if I can get my macro to stop and just wait for an ok and a start that would be fine . I would just add in a G28 line so the head goes to home position and clears the work piece then starts on command . I just need to be able to change tools with out having to keep sending g tool paths to the mill. Anything to save a little time . And to make it feel like I'm running a mill (I run big mills at work haha)

Similar Threads

  1. A start to a macro for FADAL thread mill
    By RalphWilson in forum Parametric Programing
    Replies: 0
    Last Post: 10-23-2011, 05:41 PM
  2. Start macro with input button
    By geahr in forum Mach Software (ArtSoft software)
    Replies: 4
    Last Post: 09-17-2009, 03:52 PM
  3. Need Help for Mach 3 Macro+Start by ext.Button
    By Morianer in forum Mach Software (ArtSoft software)
    Replies: 1
    Last Post: 07-16-2009, 08:15 AM
  4. software setup, basic start?
    By Dongle in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 15
    Last Post: 10-30-2007, 12:21 PM

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
  •