586,103 active members*
3,065 visitors online*
Register for free
Login
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2014
    Posts
    11

    Question How to have script running in the background?

    I want to have a script constantly running while Mach3 is running, checking certain conditions and acting accordingly. Specifically, I want to halt all motion when the plasma torch is supposed to be on but isn't because the cutter stops when it overheats, has insufficient air pressure, or trips the circuit breaker. If something was constantly checking to make sure the Arc ON signal is active when OUTPUT1 is enabled I'd be golden. I tried having a custom M-code running an endless While loop (While 1>0) and initializing it a startup, but when I go to load G-code file the toolpath progress bar hangs and the toolpath isn't generated. Mach3 doesn't seem to be able to run more than one VB scripts at a time.

  2. #2
    Join Date
    Mar 2003
    Posts
    35538

    Re: How to have script running in the background?

    Enable the macropump in General Config, and name your macro macropump.m1s
    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
    May 2014
    Posts
    11

    Re: How to have script running in the background?

    Thank you again Gerry!

Similar Threads

  1. Bobart Background textures
    By tlharris in forum BobCad-Cam
    Replies: 6
    Last Post: 01-08-2015, 02:28 AM
  2. Background transfer by pmc problem
    By kningzer in forum Fanuc
    Replies: 0
    Last Post: 09-08-2011, 09:33 PM
  3. Background Color
    By weirdharold in forum UG NX
    Replies: 4
    Last Post: 11-23-2008, 02:43 PM
  4. Background bitmap?
    By THend in forum Mastercam
    Replies: 2
    Last Post: 05-31-2008, 10:33 PM
  5. background in artcam
    By menewfy in forum ArtCam Pro
    Replies: 6
    Last Post: 07-24-2007, 07:35 AM

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
  •