584,841 active members*
4,608 visitors online*
Register for free
Login
Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2017
    Posts
    591

    Starting a macro with an input

    I need to have a few physical buttons out on the machine for activating some things like solenoid for collet closer. Obviously I could just put a switch directly on the solenoid power, but I need the condition of the solenoid to be known by mach3 and also be able to toggle it within gcode, so basically I need to be able to run a macro with a physical button.
    So how do I do this? Do I need to just pump the macro and have it checking the condition of the input? Or is there a more simple way that I'm not thinking of?

  2. #2
    Join Date
    Mar 2003
    Posts
    35538

    Re: Starting a macro with an input

    Use the Macropump.m1s macro to monitor the inputs.
    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)

  3. #3
    Join Date
    Nov 2017
    Posts
    591
    Quote Originally Posted by ger21 View Post
    Use the Macropump.m1s macro to monitor the inputs.
    Ok, figured it might have to be macropump but wasn't sure, thanks

  4. #4
    Join Date
    Mar 2003
    Posts
    35538

    Re: Starting a macro with an input

    There is another way to do it using an OEM trigger, but it only works with 1 button.
    So the macropump is the way to go.
    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. how to Assaign a macro to an input
    By horkunkilic in forum Mach Wizards, Macros, & Addons
    Replies: 0
    Last Post: 09-25-2013, 09:42 PM
  2. Starting small NEED INPUT
    By breathe in forum Want To Buy...Need help!
    Replies: 1
    Last Post: 07-16-2010, 05:11 AM
  3. Start macro with input button
    By geahr in forum Mach Software (ArtSoft software)
    Replies: 4
    Last Post: 09-17-2009, 03:52 PM
  4. Starting CNC need your input and more
    By kirker912 in forum Benchtop Machines
    Replies: 34
    Last Post: 08-04-2009, 05:12 AM
  5. Starting knee-mill retrofit. Your input appreciated.
    By jamma in forum Uncategorised MetalWorking Machines
    Replies: 2
    Last Post: 03-01-2007, 05:41 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
  •