603,936 active members*
3,646 visitors online*
Register for free
Login
Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2009
    Posts
    14

    Smile Mach 3 shutoff

    I built cnc router, with Mach 3 controller. Have everything working well with no problems. I leave it unattended at warehouse shop. Would like to get a signal from the system at the end of G code and cutter return to start position and shut down all 110 volt power to router, vacuum etc.

  2. #2
    Join Date
    Dec 2003
    Posts
    24260
    One way I would think is to assign an M code to an output controlled relay that cuts the coil power to the power device relays.
    You would need an M code to reset it at the beginning of a program.
    Possibly M3/M5 if not used at present.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  3. #3
    Join Date
    Mar 2003
    Posts
    35494
    Use M3/M5 for the spindle, and another for the vacuum. You can use the coolant codes (M7/M8, M9), or create you're own to turn on and off relays.
    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)

  4. #4
    Join Date
    Apr 2009
    Posts
    14

    Talking

    Thanks. I will persue the M code method.

  5. #5
    Join Date
    Dec 2004
    Posts
    1865

    End of job stuff

    On my router I use mo3/5 for the spindle and use m07/8/9 for the vacuum and other accesroies.
    I use a g28 at the end of the code to put the machine back in the home position in case I need to change tools or check there condition.
    Warning: DIY CNC may cause extreme hair loss due to you pulling your hair out.

  6. #6
    Join Date
    Apr 2009
    Posts
    14

    More help?

    Thanks for everyone's help. I build a heck of a machine, but sure do need help to configure mach3. Installed relays for router & vacuum from breakout board but need help to configure it all. Would like to use M3 to turn spindle on, M5,7,8 or 9 to to turn vacuum on and another to turn both off. Should be easy enough to add to program codes at beginning & end, but I'm lost to configure which outputs to what on what configure screen. Breakout board, stepper controls and 3 relay board are all Probotix. Pardon my electronic ignorance but any help is appreciated.

    Bob the machinist

  7. #7
    Join Date
    Mar 2003
    Posts
    35494
    M5 turns off M3 and M4. M9 turns off M7 and M8.

    So, turn on the spindle with M3, and off with M5.
    Turn on vac with M7 or M8 and turn it off with M9.

    In Ports and Pins, Outputs, assign one output for router and one for vac (Use outputs 1-6). Then, go to Spindle tab, and assign the router output to the spindle (M3) and the vac output to Mist or Flood (M7 or M8).
    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)

  8. #8
    Join Date
    Apr 2009
    Posts
    14
    Many thanks Gerry. Just the info I need.

    Bob

Similar Threads

  1. why auto shutoff?
    By spock in forum Sharp CNC
    Replies: 2
    Last Post: 01-27-2008, 04:43 PM
  2. Replies: 25
    Last Post: 04-13-2007, 01:01 PM
  3. Confused: Mach Turn, Mach Mill, Mach 2/3 ?
    By CanSir in forum Mach Software (ArtSoft software)
    Replies: 5
    Last Post: 02-16-2007, 11:41 AM
  4. Moving to mach 3 need exact mach 2 screen
    By carlnpa in forum Mach Software (ArtSoft software)
    Replies: 2
    Last Post: 12-11-2005, 10:00 PM
  5. will mach 2 or mach 3 work for 4 axis cnc?
    By Runner4404spd in forum Mach Mill
    Replies: 3
    Last Post: 10-05-2005, 05:44 PM

Posting Permissions

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