Starting a macro with an input


Results 1 to 4 of 4

Thread: Starting a macro with an input

  1. #1
    Member QuinnSjoblom's Avatar
    Join Date
    Nov 2017
    Location
    bigfork
    Posts
    591
    Downloads
    0
    Uploads
    0

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

    Similar Threads:


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

    Default Re: Starting a macro with an input

    Use the Macropump.m1s macro to monitor the inputs.

    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)


  3. #3
    Member QuinnSjoblom's Avatar
    Join Date
    Nov 2017
    Location
    bigfork
    Posts
    591
    Downloads
    0
    Uploads
    0

    Default

    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
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

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

Starting a macro with an input

Starting a macro with an input